mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 20:33:34 +08:00
Fix coverage and bug in matrix equal test.
This commit is contained in:
committed by
James Goppert
parent
50446a55c8
commit
d142ac234c
+1
-1
@@ -297,7 +297,7 @@ public:
|
||||
|
||||
for (size_t i = 0; i < M; i++) {
|
||||
for (size_t j = 0; j < N; j++) {
|
||||
if (fabs(self(i, j) - other(i, j) > eps) ) {
|
||||
if (fabs(self(i, j) - other(i, j)) > eps) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user