fixed bug in Matrix library

Signed-off-by: RomanBapst <bapstroman@gmail.com>
This commit is contained in:
RomanBapst
2023-02-16 11:28:41 +01:00
committed by Roman Bapst
parent 925ad97ff3
commit 6e07af959f
+2 -2
View File
@@ -583,7 +583,7 @@ public:
bool isAllNan() const
{
const Matrix<float, M, N> &self = *this;
const Matrix<Type, M, N> &self = *this;
bool result = true;
for (size_t i = 0; i < M; i++) {
@@ -597,7 +597,7 @@ public:
bool isAllFinite() const
{
const Matrix<float, M, N> &self = *this;
const Matrix<Type, M, N> &self = *this;
for (size_t i = 0; i < M; i++) {
for (size_t j = 0; j < N; j++) {