Skip to content

Commit c2c6eed

Browse files
committed
add verbose mapping in OptimizationOptimJL
1 parent 7866df9 commit c2c6eed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/OptimizationOptimJL/src/OptimizationOptimJL.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ function __map_optimizer_args(cache::OptimizationBase.OptimizationCache,
4343
maxtime::Union{Number, Nothing} = nothing,
4444
abstol::Union{Number, Nothing} = nothing,
4545
reltol::Union{Number, Nothing} = nothing,
46+
verbose = false,
4647
kwargs...)
47-
mapped_args = (; extended_trace = true, kwargs...)
48+
mapped_args = (; extended_trace = true, show_trace = verbose, kwargs...)
4849

4950
if !isnothing(abstol)
5051
mapped_args = (; mapped_args..., f_abstol = abstol)

0 commit comments

Comments
 (0)