mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
fixed spelling error in comment
This commit is contained in:
parent
ea5f89c692
commit
3b272ef2ba
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user