Fixed DiagonalMatrix assignment.

This commit is contained in:
Hauke Heibel 2010-08-21 16:34:46 +02:00
parent 92b1674c79
commit 60aad09878

View File

@ -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