Skip to content

Commit

Permalink
🤖 Format .jl files (#358)
Browse files Browse the repository at this point in the history
Co-authored-by: tmigot <[email protected]>
  • Loading branch information
github-actions[bot] and tmigot authored Dec 21, 2024
1 parent 5862e04 commit 536bb26
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ADNLPProblems/genrose.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ function genrose(; n::Int = default_nvar, type::Type{T} = Float64, kwargs...) wh
return ADNLPModels.ADNLPModel(f, x0, name = "genrose"; kwargs...)
end

rosenbrock(args...; kwargs...) = genrose(args..., n = 2, name="rosenbrock"; delete!(Dict(kwargs), :n)...)
rosenbrock(args...; kwargs...) =
genrose(args..., n = 2, name = "rosenbrock"; delete!(Dict(kwargs), :n)...)

0 comments on commit 536bb26

Please sign in to comment.