This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen
Bug 603 - Incorrect TriangularView<Strictly*> for sparse matrix
Summary: Incorrect TriangularView<Strictly*> for sparse matrix
Status: RESOLVED FIXED
Alias: None
Product: Eigen
Classification: Unclassified
Component: Sparse (show other bugs)
Version: 3.2
Hardware: All All
: Normal Unknown
Assignee: Nobody
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 3.2
  Show dependency treegraph
 
Reported: 2013-05-22 11:05 UTC by Kolja Brix
Modified: 2019-12-04 12:20 UTC (History)
2 users (show)



Attachments
Test for TriangularView<Strictly*> with a sparse matrix (1.63 KB, text/x-c++src)
2013-05-22 11:05 UTC, Kolja Brix
no flags Details

Description Kolja Brix 2013-05-22 11:05:29 UTC
Created attachment 338 [details]
Test for TriangularView<Strictly*> with a sparse matrix

Dear Eigen developers, 

when used with a sparse matrix, TriangularView<StrictlyLower> and TriangularView<StrictlyUpper> also extract the diagonal of the matrix although StrictlyLower and StrictlyUpper should only consider the lower/upper triangle without the diagonal.

The same code works when a dense matrix is considered.
Comment 1 Desire NUENTSA 2013-06-11 15:00:39 UTC
Thanks for the report. 
It is now fixed with this changeset

https://bitbucket.org/eigen/eigen/commits/77936e156776/
Changeset:   77936e156776
User:        dnuentsa
Date:        2013-06-11 14:42:29
Summary:     Add support with unit test for off-diagonal sparse matrix views
Affected #:  2 files
Comment 2 Nobody 2019-12-04 12:20:02 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/603.

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