From 6e07af959f0fae7af5a781592e19170b55afa7cf Mon Sep 17 00:00:00 2001 From: RomanBapst Date: Tue, 10 Jan 2023 17:06:22 +0300 Subject: [PATCH] fixed bug in Matrix library Signed-off-by: RomanBapst --- src/lib/matrix/matrix/Matrix.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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++) {