Skip to content

Commit

Permalink
🤖 Format .jl files
Browse files Browse the repository at this point in the history
  • Loading branch information
dpo committed Apr 15, 2022
1 parent d6085c0 commit 71acb60
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/bpdn_model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ function bpdn_model(args...)
g
end

FirstOrderModel(obj, grad!, zero(x0), name = "BPDN"), FirstOrderNLSModel(resid!, jprod_resid!, jtprod_resid!, size(A, 1), zero(x0), name = "BPDN-LS"), x0
FirstOrderModel(obj, grad!, zero(x0), name = "BPDN"),
FirstOrderNLSModel(resid!, jprod_resid!, jtprod_resid!, size(A, 1), zero(x0), name = "BPDN-LS"),
x0
end

5 changes: 3 additions & 2 deletions src/fh_model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ of an `ADNLSModel` that represents the same problem, and the exact solution.
function fh_model(; kwargs...)
data, simulate, resid, misfit, x0 = FH_smooth_term()
nequ = 202
ADNLPModels.ADNLPModel(misfit, ones(5); kwargs...), ADNLPModels.ADNLSModel(resid, ones(5), nequ; kwargs...), x0
ADNLPModels.ADNLPModel(misfit, ones(5); kwargs...),
ADNLPModels.ADNLSModel(resid, ones(5), nequ; kwargs...),
x0
end

0 comments on commit 71acb60

Please sign in to comment.