Commit 64ee4629 authored by Davis King's avatar Davis King

Adjusted test to avoid false alarm

parent dec0d93a
......@@ -409,7 +409,7 @@ namespace
DLIB_TEST(abs(det(dm7) - det(m7)) < 1e-14);
DLIB_TEST(abs(min(dm7) - min(m7)) < 1e-14);
DLIB_TEST(abs(max(dm7) - max(m7)) < 1e-14);
DLIB_TEST_MSG(abs(sum(dm7) - sum(m7)) < 1e-14,sum(dm7) - sum(m7));
DLIB_TEST_MSG(abs(sum(dm7) - sum(m7)) < 1e-13,sum(dm7) - sum(m7));
DLIB_TEST(abs(prod(dm7) -prod(m7)) < 1e-14);
DLIB_TEST(equal(diag(dm7) , diag(m7)));
DLIB_TEST(equal(trans(dm7) , trans(m7)));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment