From 2b9fec5d82b6aea5dfd0720ab1c3651f844bb1c4 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Fri, 8 Aug 2014 21:12:18 -0700 Subject: [PATCH] Const operator== --- src/basics/matrix.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/basics/matrix.hh b/src/basics/matrix.hh index aa09535..d5bc64f 100644 --- a/src/basics/matrix.hh +++ b/src/basics/matrix.hh @@ -40,8 +40,8 @@ struct Matrix Matrix& operator=(const Matrix& rhs); - bool operator==(const Matrix& rhs); - bool operator!=(const Matrix& rhs); + bool operator==(const Matrix& rhs) const; + bool operator!=(const Matrix& rhs) const; /** Value accessor. Get the ij'th item. */ Double& operator()(UInt i, UInt j);