From d548adafc882d60dc00148aedca40ee6e121d3be Mon Sep 17 00:00:00 2001 From: Avik Pal Date: Thu, 31 Oct 2024 00:25:53 -0400 Subject: [PATCH] fix: alg call for LSO --- ext/NonlinearSolveLeastSquaresOptimExt.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/NonlinearSolveLeastSquaresOptimExt.jl b/ext/NonlinearSolveLeastSquaresOptimExt.jl index 6e27f87a9..834627606 100644 --- a/ext/NonlinearSolveLeastSquaresOptimExt.jl +++ b/ext/NonlinearSolveLeastSquaresOptimExt.jl @@ -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,