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

fix chambolle boundary

parent b618597f
Branches
Tags
No related merge requests found
......@@ -52,7 +52,7 @@ function init(md::ChambolleModel, alg::ChambolleAlgorithm)
sv = zero(rv)
p = extend(reshape(reinterpret(SVector{d,Float64}, pv), size(md.g)), StaticKernels.ExtensionNothing())
r = reshape(reinterpret(Float64, rv), size(md.g))
s = extend(reshape(reinterpret(Float64, sv), size(md.g)), StaticKernels.ExtensionConstant(0.))
s = extend(reshape(reinterpret(Float64, sv), size(md.g)), StaticKernels.ExtensionReplicate())
z = zero(CartesianIndex{d})
@inline kf1(pw, gw) = @inbounds divergence(pw) + gw[z]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment