mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
relax mpc condition again
This commit is contained in:
parent
57d05c636a
commit
1d208c5dcf
@ -403,7 +403,7 @@ namespace
|
||||
dlog << LINFO << trans(alpha2);
|
||||
dlog << LINFO << "objective value: " << 0.5*trans(alpha)*Q*alpha + trans(b)*alpha;
|
||||
dlog << LINFO << "objective value2: " << 0.5*trans(alpha2)*Q*alpha + trans(b)*alpha2;
|
||||
DLIB_TEST_MSG(max(abs(alpha-alpha2)) < 1e-6, max(abs(alpha-alpha2)));
|
||||
DLIB_TEST_MSG(max(abs(alpha-alpha2)) < 1e-4, max(abs(alpha-alpha2)));
|
||||
}
|
||||
|
||||
test_with_positive_target_error_thresh();
|
||||
|
Loading…
Reference in New Issue
Block a user