Skip to content

Commit

Permalink
🤖 Format .jl files (#264)
Browse files Browse the repository at this point in the history
Co-authored-by: tmigot <tmigot@users.noreply.github.com>
github-actions[bot] and tmigot authored Jul 5, 2024
1 parent 8e8f139 commit 3513b30
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions benchmark/hessian/benchmarks_hprod.jl
Original file line number Diff line number Diff line change
@@ -13,10 +13,8 @@ data_types = [Float32, Float64]

benchmark_list = [:optimized]

benchmarked_hprod_backend = Dict(
"forward" => ADNLPModels.ForwardDiffADHvprod,
"reverse" => ADNLPModels.ReverseDiffADHvprod,
)
benchmarked_hprod_backend =
Dict("forward" => ADNLPModels.ForwardDiffADHvprod, "reverse" => ADNLPModels.ReverseDiffADHvprod)
get_backend_list(::Val{:optimized}) = keys(benchmarked_hprod_backend)
get_backend(::Val{:optimized}, b::String) = benchmarked_hprod_backend[b]

0 comments on commit 3513b30

Please sign in to comment.