Revert "fixed bug in Matrix library"

This reverts commit 6e07af959f.
This commit is contained in:
Roman Bapst
2023-02-16 13:28:49 +03:00
committed by GitHub
parent d53b17043c
commit ef0a85fa57
+2 -2
View File
@@ -583,7 +583,7 @@ public:
bool isAllNan() const
{
const Matrix<Type, M, N> &self = *this;
const Matrix<float, 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<Type, M, N> &self = *this;
const Matrix<float, M, N> &self = *this;
for (size_t i = 0; i < M; i++) {
for (size_t j = 0; j < N; j++) {