Skip to content

Commit

Permalink
fix formating for mapped_args
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianM-C committed Sep 27, 2023
1 parent 4766051 commit eb3d4ec
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/OptimizationOptimJL/src/OptimizationOptimJL.jl
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ function __map_optimizer_args(cache::OptimizationCache,
if !isnothing(maxiters)
if opt isa Optim.Fminbox
if !isnothing(local_maxiters)
mapped_args = (; mapped_args..., outer_iterations = maxiters, iterations = local_maxiters)
mapped_args = (;
mapped_args...,
outer_iterations = maxiters,
iterations = local_maxiters)
else
mapped_args = (; mapped_args..., outer_iterations = maxiters)
end
Expand Down

0 comments on commit eb3d4ec

Please sign in to comment.