Commit ff378a69 authored by Davis King's avatar Davis King

made test a little more robust

parent 205070e4
......@@ -35,7 +35,7 @@ namespace
for (unsigned long i = 0; i < edges1.size(); ++i)
{
DLIB_TEST(edges1[i] == edges2[i]);
DLIB_TEST_MSG(std::abs(edges1[i].distance() - edges2[i].distance()) < 1e-15,
DLIB_TEST_MSG(std::abs(edges1[i].distance() - edges2[i].distance()) < 1e-7,
edges1[i].distance() - edges2[i].distance());
}
}
......
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