Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
7c9500fa
Commit
7c9500fa
authored
Jul 17, 2018
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty5/library/los_response.py
View file @
7c9500fa
...
...
@@ -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.
))
continue
# determine coordinates of first cell crossing
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment