Skip to content

Commit

Permalink
Avoid another warning
Browse files Browse the repository at this point in the history
  • Loading branch information
lballabio authored Oct 4, 2024
1 parent d6c544e commit 327a252
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ql/math/optimization/levenbergmarquardt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ namespace QuantLib {
case 6:
ecType = EndCriteria::FunctionEpsilonTooSmall;
break;
default:
QL_FAIL("unknown MINPACK result: " << info);
}
// set problem
std::copy(xx.get(), xx.get()+n, x_.begin());
Expand Down

0 comments on commit 327a252

Please sign in to comment.