Fix coverage and bug in matrix equal test.

This commit is contained in:
James Goppert
2018-03-28 00:09:01 -04:00
committed by James Goppert
parent 50446a55c8
commit d142ac234c
4 changed files with 56 additions and 18 deletions
+1 -1
View File
@@ -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;
}
}