Skip to content

Commit

Permalink
Cobyla: Clipped point in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed Nov 8, 2024
1 parent de56241 commit 809397d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/Base/Optim/Cobyla.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ int Cobyla::ComputeObjectiveAndConstraint(int n,
}
catch (const std::exception & exc)
{
LOGWARN(OSS() << "Cobyla went to an abnormal point x=" << inP.__str__() << " y=" << outP.__str__() << " msg=" << exc.what());
LOGWARN(OSS() << "Cobyla went to an abnormal point x=" << inClip.__str__() << " y=" << outP.__str__() << " msg=" << exc.what());

// penalize it
*f = problem.isMinimization() ? cobylaMaxScalar : cobylaMaxScalar;
Expand Down

0 comments on commit 809397d

Please sign in to comment.