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
  1. Jun 11, 2019
    • Oliver Sander's avatar
      copyWindowStructure should not set the matrix build mode to 'row_wise' · d2782556
      Oliver Sander authored
      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.
      d2782556
Loading