Skip to content

Commit

Permalink
fix: alg call for LSO
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Oct 31, 2024
1 parent cdde6e1 commit d548ada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/NonlinearSolveLeastSquaresOptimExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function SciMLBase.__solve(
throw(ArgumentError("Unknown LeastSquaresOptim Algorithm: $(Meta.quot(alg.alg))"))
end

allocated_prob = LSO.LeastSquaresProblemAllocated(lsoprob, lso_solver(alg))
allocated_prob = LSO.LeastSquaresProblemAllocated(lsoprob, lso_solver)
res = LSO.optimize!(
allocated_prob;
x_tol = reltol, f_tol = abstol, g_tol = abstol, iterations = maxiters,
Expand Down

0 comments on commit d548ada

Please sign in to comment.