This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen
Bug 901 - SparseMatrixBase::triangularView<Unit*>() does not work for rectangular matrices
Summary: SparseMatrixBase::triangularView<Unit*>() does not work for rectangular matrices
Status: RESOLVED FIXED
Alias: None
Product: Eigen
Classification: Unclassified
Component: Sparse (show other bugs)
Version: 3.3 (current stable)
Hardware: All All
: High Crash
Assignee: Nobody
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 3.3
  Show dependency treegraph
 
Reported: 2014-10-31 17:11 UTC by Christoph Hertzberg
Modified: 2019-12-04 13:52 UTC (History)
2 users (show)



Attachments

Description Christoph Hertzberg 2014-10-31 17:11:02 UTC
The problem is that the iterator tries to insert a 1 element for every innerVector, even if the inner dimension is smaller than the current inner Index.
Comment 1 Christoph Hertzberg 2014-10-31 17:12:57 UTC
I extended the sparse_basic unit tests (failing case is deactivated at the moment):
https://bitbucket.org/eigen/eigen/commits/1a08571a
Comment 2 Gael Guennebaud 2016-02-12 15:11:59 UTC
https://bitbucket.org/eigen/eigen/commits/2cd6a396a05c/
Comment 3 Nobody 2019-12-04 13:52:43 UTC
-- 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/901.

Note You need to log in before you can comment on or make changes to this bug.