Skip to content
Snippets Groups Projects

copyWindowStructure should not set the matrix build mode to 'row_wise'

Closed Oliver Sander requested to merge bugfix-matrix-assignment-changes-buildmode into master

Rather, it should take the value from the matrix that is being copied from.

In particular, BCRSMatrix::copyWindowStructure is being called as part of BCRSMatrix::operator=. Previously, that method set the matrix build mode to 'row_wise' unconditionally. This does not pose problems until the matrix is asked to be resized later, because that only works for matrices with the 'random' build mode.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading