Skip to content

Commit

Permalink
more fix
Browse files Browse the repository at this point in the history
  • Loading branch information
keurfonluu committed Aug 13, 2022
1 parent fa69d40 commit f95aa41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fteikpy/_fteik/_ray2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def _ray2d(z, x, zgrad, xgrad, zend, xend, zsrc, xsrc, stepsize, max_step, honor

if fac < 1.0:
# Grid magnetism: handle precision issues due to fac
for ix in range(3):
for ix in range(2):
if np.abs(pcur[ix] - lower[ix]) < 1.0e-8:
pcur[ix] = lower[ix]

Expand Down

0 comments on commit f95aa41

Please sign in to comment.