Skip to content

Commit

Permalink
Update lib/OptimizationPolyalgorithms/src/OptimizationPolyalgorithms.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaibhavdixit02 authored Nov 17, 2023
1 parent 6c14bbe commit 60c7dc2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function SciMLBase.__solve(prob::OptimizationProblem,
else
res1 = Optimization.solve(prob, Optimisers.ADAM(0.1), args...; maxiters, kwargs...)
optprob2 = remake(prob, u0 = res1.u)
res1 = Optimization.solve(optprob2, Optimisers.ADAM(0.1), args...;
res1 = Optimization.solve(optprob2, Optimisers.ADAM(0.01), args...;

Check warning on line 40 in lib/OptimizationPolyalgorithms/src/OptimizationPolyalgorithms.jl

View check run for this annotation

Codecov / codecov/patch

lib/OptimizationPolyalgorithms/src/OptimizationPolyalgorithms.jl#L39-L40

Added lines #L39 - L40 were not covered by tests
maxiters÷10, kwargs...)
end
end
Expand Down

0 comments on commit 60c7dc2

Please sign in to comment.