mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 20:43:34 +08:00
fixed bug in Matrix library
Signed-off-by: RomanBapst <bapstroman@gmail.com>
This commit is contained in:
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user