We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0a840b commit 755cbfaCopy full SHA for 755cbfa
src/R2DH.jl
@@ -148,7 +148,7 @@ function R2DH(
148
Fobj_hist = zeros(maxIter+1)
149
Hobj_hist = zeros(maxIter+1)
150
time_hist = zeros(maxIter+1)
151
- FHobj_hist = fill!(Vector{R}(undef, - 1), R(-Inf))
+ FHobj_hist = fill!(Vector{R}(undef, Mmonotone - 1), R(-Inf))
152
Complex_hist = zeros(Int, maxIter+1)
153
k_prox = 0
154
if verbose > 0
@@ -188,7 +188,7 @@ function R2DH(
188
end
189
mks = mk(s)
190
191
- if mks < -1e5
+ if mks == -Inf
192
σk = σk * γ
193
Dkσk .= D.d .+ σk
194
DNorm = norm(D.d, Inf)
0 commit comments