Skip to content

Commit

Permalink
Update test/runtests.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Maxence Gollier <[email protected]>
  • Loading branch information
1 parent d363f9e commit f173f2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ R2N_R2DH(args...; kwargs...) = R2N(args...; subsolver = R2DH, kwargs...)
for (mod, mod_name) ((SpectralGradientModel, "spg"), (DiagonalPSBModel, "psb"), (LSR1Model, "lsr1"), (LBFGSModel, "lbfgs"))
for (h, h_name) ((NormL0(λ), "l0"), (NormL1(λ), "l1"))
for solver_sym (:R2DH, :R2N, :R2N_R2DH)
solver_sym == (:R2N,:R2N_R2DH) && mod_name == ("spg", "psb") && continue
solver_sym (:R2N,:R2N_R2DH) && mod_name ("spg", "psb") && continue
solver_sym == :R2DH && mod_name != "spg" && continue
solver_sym == :R2N_R2DH && h_name == "l1" && continue # this test seems to fail because s seems to be equal to zeros within the subsolver
solver_name = string(solver_sym)
Expand Down

0 comments on commit f173f2c

Please sign in to comment.