The following code segfaults on the latest Eigen development branch:
using namespace Eigen;
SparseMatrix<double> A(3, 3);
for (int i = 0; i < 3; ++i)
A.insert(i,i) = 1.0;
A.col(3) = A.col(2);
I understand this is still beta-level functionality, so take this bug report as you will.
The matrix A is in uncompressed mode.
Sparse block methods do not support it at this time.
We have put an assert to check it
date: 2013-03-11 19:21:18
summary: Bug 563 : Sparse block assignments should be called on compressed matrices. Uncompressed matrices will be supported later
affected #: 1 file
Date: 2013-04-12 13:20:13
Summary: Fix bug 563: assignement to Block<SparseMatrix> is now allowed on non-compressed matrices
-- GitLab Migration Automatic Message --
This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/563.