Fix A=A with A a SparseMatrix
This commit is contained in:
parent
9ab3811cc5
commit
bd0474adbb
@ -679,7 +679,7 @@ class SparseMatrix
|
||||
{
|
||||
swap(other.const_cast_derived());
|
||||
}
|
||||
else
|
||||
else if(this!=&other)
|
||||
{
|
||||
initAssignment(other);
|
||||
if(other.isCompressed())
|
||||
|
||||
Loading…
Reference in New Issue
Block a user