mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-23 10:09:36 +08:00
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…
x
Reference in New Issue
Block a user