Skip to content

Commit 2126667

Browse files
Update test/runtests.jl
Co-authored-by: Maxence Gollier <[email protected]>
1 parent d9ca5e7 commit 2126667

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ R2N_R2DH(args...; kwargs...) = R2N(args...; subsolver = R2DH, kwargs...)
138138
for (mod, mod_name) ((SpectralGradientModel, "spg"), (DiagonalPSBModel, "psb"), (LSR1Model, "lsr1"), (LBFGSModel, "lbfgs"))
139139
for (h, h_name) ((NormL0(λ), "l0"), (NormL1(λ), "l1"))
140140
for solver_sym (:R2DH, :R2N, :R2N_R2DH)
141-
solver_sym == (:R2N,:R2N_R2DH) && mod_name == ("spg", "psb") && continue
141+
solver_sym (:R2N,:R2N_R2DH) && mod_name ("spg", "psb") && continue
142142
solver_sym == :R2DH && mod_name != "spg" && continue
143143
solver_sym == :R2N_R2DH && h_name == "l1" && continue # this test seems to fail because s seems to be equal to zeros within the subsolver
144144
solver_name = string(solver_sym)

0 commit comments

Comments
 (0)