diff --git a/kwave/options/simulation_options.py b/kwave/options/simulation_options.py index 366ede0c..78a30e46 100644 --- a/kwave/options/simulation_options.py +++ b/kwave/options/simulation_options.py @@ -307,7 +307,7 @@ def option_factory(kgrid: "kWaveGrid", options: SimulationOptions): options.pml_y_alpha = val[-1] elif kgrid.dim == 3: options.pml_x_alpha = val[0] - options.pml_y_alpha = val[1] + options.pml_y_alpha = val[len(val) // 2] options.pml_z_alpha = val[-1] if options.save_to_disk_exit: