Commit becd071a authored by Davis King's avatar Davis King

Minor change to increase robustness to numerical errors.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403477
parent 64c4f6df
......@@ -167,8 +167,7 @@ namespace dlib
alpha(small_idx) = old_alpha_big + old_alpha_small;
}
if ((iter%(max_iter/10)) == (max_iter/10 -1))
if ((iter%(max_iter/100)) == (max_iter/100 -1))
{
// Perform this form of the update every so often because doing so can help
// avoid the buildup of numerical errors you get with the alternate update
......
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