From cf790388ea5a690df0ca30c59254c1cc8f9fb93e Mon Sep 17 00:00:00 2001 From: Fabio Luporini Date: Sat, 23 Sep 2017 12:07:49 +0200 Subject: [PATCH] acoustic: dimensions=shape -> shape=shape --- examples/seismic/acoustic/acoustic_example.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/seismic/acoustic/acoustic_example.py b/examples/seismic/acoustic/acoustic_example.py index 332f0d0a7a..7165a45ee7 100644 --- a/examples/seismic/acoustic/acoustic_example.py +++ b/examples/seismic/acoustic/acoustic_example.py @@ -54,9 +54,8 @@ def run(shape=(50, 50, 50), spacing=(20.0, 20.0, 20.0), tn=1000.0, time_order=2, space_order=4, nbpml=40, full_run=False, autotune=False, **kwargs): - solver = acoustic_setup(dimensions=shape, spacing=spacing, - nbpml=nbpml, tn=tn, space_order=space_order, - time_order=time_order, **kwargs) + solver = acoustic_setup(shape=shape, spacing=spacing, nbpml=nbpml, tn=tn, + space_order=space_order, time_order=time_order, **kwargs) initial_vp = smooth10(solver.model.m.data, solver.model.shape_domain) dm = np.float32(initial_vp**2 - solver.model.m.data)