diff --git a/src/lib/matrix/matrix/Matrix.hpp b/src/lib/matrix/matrix/Matrix.hpp index e3c60b8dc2..5b76bb861f 100644 --- a/src/lib/matrix/matrix/Matrix.hpp +++ b/src/lib/matrix/matrix/Matrix.hpp @@ -583,7 +583,7 @@ public: bool isAllNan() const { - const Matrix &self = *this; + const Matrix &self = *this; bool result = true; for (size_t i = 0; i < M; i++) { @@ -597,7 +597,7 @@ public: bool isAllFinite() const { - const Matrix &self = *this; + const Matrix &self = *this; for (size_t i = 0; i < M; i++) { for (size_t j = 0; j < N; j++) {