mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 11:49:02 +08:00
Fixed DiagonalMatrix assignment.
This commit is contained in:
parent
92b1674c79
commit
60aad09878
@ -174,7 +174,7 @@ class DiagonalMatrix
|
|||||||
*/
|
*/
|
||||||
DiagonalMatrix& operator=(const DiagonalMatrix& other)
|
DiagonalMatrix& operator=(const DiagonalMatrix& other)
|
||||||
{
|
{
|
||||||
m_diagonal = other.m_diagonal();
|
m_diagonal = other.diagonal();
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user