Skip to content
Snippets Groups Projects
Commit 967bb7e9 authored by Stephan Hilb's avatar Stephan Hilb
Browse files

fixup projgrad

parent 08111376
Branches
Tags
No related merge requests found
......@@ -48,7 +48,7 @@ function init(alg::ProjGradAlgorithm{<:DualTVL1ROFOpProblem})
@inline function kf2(pw, sw)
@inbounds q = p[sw.position] - alg.τ * gradient(sw)
return @inbounds q ./ max.(projnorm(q) ./ λ[sw.position], 1)
return @inbounds q ./ max.(projnorm(q, false) ./ λ[sw.position], 1)
end
k2 = Kernel{ntuple(_->0:1, d)}(kf2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment