Skip to content

Commit 70f3fe5

Browse files
author
Malcolm White
committed
DEBUG:: EikonalSolver._get_gradient() was returning None for Cart coords
1 parent e28fc8d commit 70f3fe5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pykonal/pykonal.pyx

+1
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,7 @@ class EikonalSolver(object):
395395
)
396396
for iax in self.iax_null:
397397
gg = np.insert(gg, iax, np.zeros(self.pgrid.npts), axis=-1)
398+
return (gg)
398399
else:
399400
grid = self.pgrid[...]
400401
d0, d1, d2 = self.pgrid.node_intervals

0 commit comments

Comments
 (0)