mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Adjusted test to avoid false alarm
This commit is contained in:
parent
dec0d93a51
commit
64ee462995
@ -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)));
|
||||
|
Loading…
Reference in New Issue
Block a user