Commit c6a6ed94 authored by Davis King's avatar Davis King

Changed test to avoid false error

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402439
parent e24ed9dc
...@@ -275,7 +275,7 @@ namespace ...@@ -275,7 +275,7 @@ namespace
total_count = 0; total_count = 0;
x = p; x = p;
find_min_conjugate_gradient(&rosen, &der_rosen, x, minf, eps); find_min_conjugate_gradient(&rosen, &der_rosen, x, minf, eps);
DLIB_CASSERT(dlib::equal(x,opt, 1e-7),opt-x); DLIB_CASSERT(dlib::equal(x,opt, 1e-5),opt-x);
dlog << LINFO << "find_min_conjugate_gradient got rosen in " << total_count; dlog << LINFO << "find_min_conjugate_gradient got rosen in " << total_count;
total_count = 0; total_count = 0;
......
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