This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen

Bug 603

Summary: Incorrect TriangularView<Strictly*> for sparse matrix
Product: Eigen Reporter: Kolja Brix <brix>
Component: SparseAssignee: Nobody <eigen.nobody>
Status: RESOLVED FIXED    
Severity: Unknown CC: desire.nuentsa_wakam, gael.guennebaud
Priority: Normal    
Version: 3.2   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 387    
Attachments:
Description Flags
Test for TriangularView<Strictly*> with a sparse matrix none

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.