mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
bug fix in SparseSelfAdjointTimeDenseProduct for empty rows or columns
This commit is contained in:
@@ -229,7 +229,7 @@ class SparseSelfAdjointTimeDenseProduct
|
||||
LhsInnerIterator i(m_lhs,j);
|
||||
if (ProcessSecondHalf)
|
||||
{
|
||||
while (i.index()<j) ++i;
|
||||
while (i && i.index()<j) ++i;
|
||||
if(i && i.index()==j)
|
||||
{
|
||||
dest.row(j) += i.value() * m_rhs.row(j);
|
||||
|
||||
Reference in New Issue
Block a user