From 3513b30e98bafab0be5ddc7f3e3dc39ca4398ff2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 5 Jul 2024 04:00:01 +0200 Subject: [PATCH] :robot: Format .jl files (#264) Co-authored-by: tmigot --- benchmark/hessian/benchmarks_hprod.jl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/benchmark/hessian/benchmarks_hprod.jl b/benchmark/hessian/benchmarks_hprod.jl index da1f4d44..38049ed2 100644 --- a/benchmark/hessian/benchmarks_hprod.jl +++ b/benchmark/hessian/benchmarks_hprod.jl @@ -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]