Commit 103b4649 authored by Davis King's avatar Davis King

Relaxed tests slightly to avoid false alarms.

parent 688471ff
...@@ -682,8 +682,8 @@ namespace ...@@ -682,8 +682,8 @@ namespace
dlib::vector<double,2> p = randm(2,1,rnd)*1000; dlib::vector<double,2> p = randm(2,1,rnd)*1000;
from_points.push_back(p); from_points.push_back(p);
to_points.push_back(tran(p) + (randm(2,1,rnd)-0.5)*error_rate); to_points.push_back(tran(p) + (randm(2,1,rnd)-0.5)*error_rate);
DLIB_TEST(length(traninv(tran(p))-p) <= 1e-6); DLIB_TEST(length(traninv(tran(p))-p) <= 1e-5);
DLIB_TEST(length(tran(traninv(p))-p) <= 1e-6); DLIB_TEST(length(tran(traninv(p))-p) <= 1e-5);
} }
......
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