mirror of https://github.com/davisking/dlib.git
Made matrix2 test more robust on ARM64 (#394)
This commit is contained in:
parent
365dfd20d1
commit
45d35e6ce6
|
@ -1120,7 +1120,7 @@ namespace
|
||||||
m4 = randm(4,4,rnd);
|
m4 = randm(4,4,rnd);
|
||||||
|
|
||||||
DLIB_TEST(max(abs(m1*inv(m1) - identity_matrix(m1))) < 1e-13);
|
DLIB_TEST(max(abs(m1*inv(m1) - identity_matrix(m1))) < 1e-13);
|
||||||
DLIB_TEST(max(abs(m2*inv(m2) - identity_matrix(m2))) < 1e-13);
|
DLIB_TEST(max(abs(m2*inv(m2) - identity_matrix(m2))) < 1e-12);
|
||||||
DLIB_TEST(max(abs(m3*inv(m3) - identity_matrix(m3))) < 1e-13);
|
DLIB_TEST(max(abs(m3*inv(m3) - identity_matrix(m3))) < 1e-13);
|
||||||
DLIB_TEST_MSG(max(abs(m4*inv(m4) - identity_matrix(m4))) < 1e-12, max(abs(m4*inv(m4) - identity_matrix(m4))));
|
DLIB_TEST_MSG(max(abs(m4*inv(m4) - identity_matrix(m4))) < 1e-12, max(abs(m4*inv(m4) - identity_matrix(m4))));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue