Incorrect TriangularView<Strictly*> for sparse matrix

Submitted by Kolja Brix

Assigned to Nobody

Link to original bugzilla bug (#603)
Version: 3.2

Description

Created attachment 338
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.

Attachment 338, "Test for TriangularView<Strictly*> with a sparse matrix":
test_triangularView.cpp

Blocking

#387 (closed)

Edited by Eigen Bugzilla