![]() Registered Member ![]()
|
a short code snippet as below
Nothing is printed in the for loop. If m=m is commented out, column, row and value is printed. Can someone tell my why? Thanks a lot. |
![]() Moderator ![]()
|
I think you discovered a bug in Eigen. Fill free to fill a bug report there eigen.tuxfamily.org/bz/ to make sure we do not forget about it. The proper fiw would be to detect this in SparseMatrix::operator=(const SparseMatrix&) and directly return *this.
|
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]