Const operator==

This commit is contained in:
Eryn Wells 2014-08-08 21:12:18 -07:00
parent bfd3b8cbce
commit 2b9fec5d82

View file

@ -40,8 +40,8 @@ struct Matrix
Matrix<N,M>& operator=(const Matrix<N,M>& rhs); Matrix<N,M>& operator=(const Matrix<N,M>& rhs);
bool operator==(const Matrix<N,M>& rhs); bool operator==(const Matrix<N,M>& rhs) const;
bool operator!=(const Matrix<N,M>& rhs); bool operator!=(const Matrix<N,M>& rhs) const;
/** Value accessor. Get the ij'th item. */ /** Value accessor. Get the ij'th item. */
Double& operator()(UInt i, UInt j); Double& operator()(UInt i, UInt j);