Skip to content

Commit 3b8b467

Browse files
MohamedLaghdafHABIBOULLAHdpo
authored andcommitted
assrt di > 0 in iporx of shifted L1
1 parent 5a494d4 commit 3b8b467

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shiftedNormL1.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function iprox!(
6565
y .= -ψ.xk .- ψ.sj
6666

6767
for i eachindex(y)
68-
@assert d[i] != 0
68+
@assert d[i] > 0
6969
y[i] = min(max(y[i], -g[i]/d[i] - ψ.λ/d[i] ), -g[i]/d[i] + ψ.λ/d[i] )
7070
end
7171

0 commit comments

Comments
 (0)