Commit 7c9500fa authored by Martin Reinecke's avatar Martin Reinecke
Browse files

Merge branch 'los_fix' into 'NIFTy_5'

small fix for LOS response

See merge request ift/nifty-dev!58
parents 569dcda0 9f41f42e
......@@ -62,7 +62,7 @@ def _comp_traverse(start, end, shp, dist, lo, mid, hi, erf):
# hack: move away from potential grid crossings
dmin += 1e-7
dmax -= 1e-7
if dmin > dmax: # no intersection
if dmin >= dmax: # no intersection
out[i] = (np.full(0, 0), np.full(0, 0.))
# determine coordinates of first cell crossing
Supports Markdown
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