mirror of https://github.com/davisking/dlib.git
fixed minor bug in unit tests
--HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404000
This commit is contained in:
parent
18af6d4c8f
commit
25720eaf6b
|
@ -377,9 +377,9 @@ namespace
|
|||
|
||||
DLIB_TEST_MSG(max(abs(dm7*inv(dm7) - identity_matrix<double>(7))) < 1e-12, max(abs(dm7*inv(dm7) - identity_matrix<double>(7))));
|
||||
DLIB_TEST(equal(inv(dm7), inv(m7)));
|
||||
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(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(abs(prod(dm7) -prod(m7)) < 1e-14);
|
||||
DLIB_TEST(equal(diag(dm7) , diag(m7)));
|
||||
|
|
Loading…
Reference in New Issue