Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
simplify indexing
Browse files Browse the repository at this point in the history
waltsims authored Nov 26, 2024
1 parent dc8f764 commit 7168f92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kwave/options/simulation_options.py
Original file line number Diff line number Diff line change
@@ -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[len(val) // 2]
options.pml_y_alpha = val[1]
options.pml_z_alpha = val[-1]

if options.save_to_disk_exit:

0 comments on commit 7168f92

Please sign in to comment.