Skip to content

Commit

Permalink
Avoid another warning
Browse files Browse the repository at this point in the history
  • Loading branch information
lballabio committed Oct 4, 2024
1 parent 89c26e1 commit 05b4b7e
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 05b4b7e

Please sign in to comment.