Skip to content

Commit b51bfee

Browse files
committed
🤖 Format .jl files
1 parent b8831fb commit b51bfee

File tree

2 files changed

+2
-15
lines changed

2 files changed

+2
-15
lines changed

examples/demo-bpdn-constr.jl

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,7 @@ include("plot-utils-bpdn.jl")
99
Random.seed!(12)
1010

1111
function demo_solver(f, nls, sol, h, χ, suffix = "l0-linf")
12-
options = ROSolverOptions(
13-
ν = 1.0,
14-
β = 1e16,
15-
ϵa = 1e-6,
16-
ϵr = 1e-6,
17-
verbose = 10,
18-
)
12+
options = ROSolverOptions= 1.0, β = 1e16, ϵa = 1e-6, ϵr = 1e-6, verbose = 10)
1913

2014
@info " using TR to solve with" h χ
2115
TR_out = TR(LSR1Model(f), h, χ, options, x0 = f.meta.x0)

examples/demo-nnmf-constr.jl

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,7 @@ include("plot-utils-nnmf.jl")
99
Random.seed!(1234)
1010

1111
function demo_solver(f, h, χ, selected, Avec, m, n, k, suffix = "l0-linf")
12-
options = ROSolverOptions(
13-
ν = 1.0e-3,
14-
β = 1e16,
15-
ϵa = 1e-6,
16-
ϵr = 1e-6,
17-
verbose = 10,
18-
maxIter = 500,
19-
)
12+
options = ROSolverOptions= 1.0e-3, β = 1e16, ϵa = 1e-6, ϵr = 1e-6, verbose = 10, maxIter = 500)
2013
@info " using TR to solve with" h χ
2114
TR_out = TR(LSR1Model(f), h, χ, options, selected = selected)
2215
plot_nnmf(TR_out, Avec, m, n, k, "tr-r2-$suffix")

0 commit comments

Comments
 (0)