Skip to content

Commit 4b91663

Browse files
Fix OptimizationOptimisers.jl progress bar
Fixes #1018
1 parent 6a31496 commit 4b91663

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/OptimizationOptimisers/src/OptimizationOptimisers.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ function SciMLBase.__solve(cache::OptimizationCache{
138138
break
139139
end
140140
msg = @sprintf("loss: %.3g", first(x)[1])
141-
cache.progress && ProgressLogging.@logprogress msg i/maxiters
141+
cache.progress && ProgressLogging.@logprogress msg iterations/maxiters
142142

143143
if cache.solver_args.save_best
144144
if first(x)[1] < first(min_err)[1] #found a better solution

0 commit comments

Comments
 (0)