Commit 3b272ef2 authored by Davis King's avatar Davis King

fixed spelling error in comment

parent ea5f89c6
......@@ -427,7 +427,7 @@ namespace dlib
for (long i = 0; i < gradient.size(); ++i)
{
const double tol = eps*std::abs(x(i));
// if x(i) is an active bound constraint then we should set it's search
// If x(i) is an active bound constraint then we should set its search
// direction such that a single step along the direction either does nothing or
// closes the gap of size tol before hitting the bound exactly.
if (x_lower(i)+tol >= x(i) && gradient(i) > 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