"git@developer.sourcefind.cn:OpenDAS/torch-cluster.git" did not exist on "53959eeeb9c5411ecc37f0de90159e29f6310a49"
Commit 25720eaf authored by Davis King's avatar Davis King
Browse files

fixed minor bug in unit tests

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404000
parent 18af6d4c
......@@ -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)));
......
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