Skip to content

Commit

Permalink
CMAEvolution fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaibhavdixit02 committed Jan 4, 2024
1 parent c66b15e commit 7340dac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function SciMLBase.__solve(cache::OptimizationCache{
t1 = time()

opt_ret = opt_res.stop.reason
stats = Optimization.OptimizationStats(; iterations = length(opt.logger.fmedian), time = t1 - t0, fevals = length(opt.logger.fmedian))
stats = Optimization.OptimizationStats(; iterations = length(opt_res.logger.fmedian), time = t1 - t0, fevals = length(opt_res.logger.fmedian))
SciMLBase.build_solution(cache, cache.opt,
opt_res.logger.xbest[end],
opt_res.logger.fbest[end]; original = opt_res,
Expand Down

0 comments on commit 7340dac

Please sign in to comment.