Commit e8baa7d1 authored by Davis King's avatar Davis King

Made part of the code a little more straight forward.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403486
parent 348735eb
......@@ -167,7 +167,8 @@ namespace dlib
alpha(little_idx) = old_alpha_big + old_alpha_little;
}
if ((iter%(max_iter/100)) == (max_iter/100 -1))
// Every 100 iterations
if ((iter%100) == 99)
{
// 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