Skip to content

Commit 69ffd48

Browse files
committed
examples: fix tti dimension access
1 parent 46faeea commit 69ffd48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/seismic/tti/operators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def Gh_centered(model, field):
161161
_diff = lambda f, d: getattr(f, f'd{d.name}')
162162
so = field.space_order // 2
163163
lap = 0
164-
for d in field.space_dimensions:
164+
for d in model.space_dimensions:
165165
x0 = d + d.spacing / 2
166166
x0m = d - d.spacing / 2
167167
lap += _diff(_subs(b, d, x0) * _diff(field, d)(x0=x0, order=so),

0 commit comments

Comments
 (0)