Skip to content

Commit

Permalink
fix: fix constructorof for NonlinearLeastSquaresProblem
Browse files Browse the repository at this point in the history
  • Loading branch information
AayushSabharwal committed Dec 14, 2024
1 parent b0dc015 commit a3a77ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/problems/nonlinear_problems.jl
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ function ConstructionBase.constructorof(::Type{P}) where {P <: NonlinearLeastSqu
else
iip = isinplace(f, 4)
end
return NonlinearProblem{iip}(f, u0, p; kw...)
return NonlinearLeastSquaresProblem{iip}(f, u0, p; kw...)
end
end

Expand Down

0 comments on commit a3a77ff

Please sign in to comment.