Commit c79d412c authored by Davis King's avatar Davis King

slightly relaxed tests to avoid false failure

parent 022dce43
......@@ -125,7 +125,7 @@ namespace
const double trans_error = max(abs(L*Ltrans - R*Rtrans));
dlog << LINFO << "trans_error: "<< trans_error;
DLIB_TEST(trans_error < 1e-10);
DLIB_TEST(trans_error < 1e-9);
}
{
correlations = cca(mat_to_sparse(L), mat_to_sparse(R), Ltrans, Rtrans, min(m,n), max(n,n2)+6, 4);
......@@ -139,7 +139,7 @@ namespace
dlog << LINFO << "correlation error: "<< corr_error;
DLIB_TEST_MSG(corr_error < 1e-13, Ltrans << "\n\n" << Rtrans);
DLIB_TEST(trans_error < 1e-10);
DLIB_TEST(trans_error < 1e-9);
}
dlog << LINFO << "*****************************************************";
......
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