Commit 82444345 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

fix nasty bug

parent 27e4cc32
Pipeline #25076 passed with stages
in 6 minutes and 43 seconds
......@@ -117,7 +117,7 @@ class LaplaceOperator(EndomorphicOperator):
if axis == dobj.distaxis(yf):
yf = dobj.redistribute(yf, nodist=(axis,))
y = dobj.local_data(yf)
y /= dposc
y = y/dposc
y[prefix + (slice(None, 2),)] = 0.
y[prefix + (-1,)] = 0.
deriv = (y[sl_r]-y[sl_l])/dpos # defined between points
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment