Commit 49c32f0f authored by Davis King's avatar Davis King

Made test slightly more robust.

parent f7cb3882
......@@ -175,7 +175,7 @@ namespace
for (int i =0; i < 1000; ++i)
{
DLIB_TEST(r.get_random_32bit_number() == r2.get_random_32bit_number());
DLIB_TEST(std::abs(r.get_random_gaussian() - r2.get_random_gaussian()) < 1e-15);
DLIB_TEST(std::abs(r.get_random_gaussian() - r2.get_random_gaussian()) < 1e-14);
}
}
......
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