[eigen] Feature request - Prevent dynamic resizing of a matrix

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Hello all,
I has been decided that the operator=(A,B) would resize A if it does
not fit the size of B, right?
I had a bug in my code I had problems to detect because of this
feature. It would be nice to have an assert that fails if the matrices
are of different size, and let the user decide to use this assert with
some flag definitions like EIGEN_DO_NOT_RESIZE_DYNAMIC_MATRICES.
Is it possible to do it with the current code?

-- Timothy Hunter



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/