Skip to content

Commit

Permalink
Optcache prima fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaibhavdixit02 committed Jul 4, 2024
1 parent 0d7fcf8 commit 1fe300d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/OptimizationPRIMA/src/OptimizationPRIMA.jl
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ function Optimization.OptimizationCache(prob::SciMLBase.OptimizationProblem,

return Optimization.OptimizationCache(f, reinit_cache, prob.lb, prob.ub, prob.lcons,
prob.ucons, prob.sense,
opt, data, progress, callback, nothing, nothing,
opt, data, progress, callback, nothing,
Optimization.OptimizationBase.AnalysisResults(nothing, nothing),
merge((; maxiters, maxtime, abstol, reltol),
NamedTuple(kwargs)))
end
Expand Down

0 comments on commit 1fe300d

Please sign in to comment.