From 45d35e6ce644617f8cf5c9418ca69dd11662b486 Mon Sep 17 00:00:00 2001 From: Stefan Schweter Date: Sun, 8 Jan 2017 20:46:35 +0100 Subject: [PATCH] Made matrix2 test more robust on ARM64 (#394) --- dlib/test/matrix2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlib/test/matrix2.cpp b/dlib/test/matrix2.cpp index dabc02943..cee65e207 100644 --- a/dlib/test/matrix2.cpp +++ b/dlib/test/matrix2.cpp @@ -1120,7 +1120,7 @@ namespace m4 = randm(4,4,rnd); 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_MSG(max(abs(m4*inv(m4) - identity_matrix(m4))) < 1e-12, max(abs(m4*inv(m4) - identity_matrix(m4)))); }