Skip to content

Commit

Permalink
Fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Olender committed Jun 27, 2024
1 parent 6f32eee commit 30e14a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_parallel/test_forward.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def test_forward_3_shots():

error = error_calc(arr0[:430], analytical_p[:430], 430)
if comm.comm.rank == 0:
print(f"Error for shot {Wave_obj.current_source} is {error} and test has passed equals {np.abs(error) < 0.01}", flush=True)
print(f"Error for shot {Wave_obj.current_sources} is {error} and test has passed equals {np.abs(error) < 0.01}", flush=True)
error_all = COMM_WORLD.allreduce(error, op=MPI.SUM)
error_all /= 3

Expand Down

0 comments on commit 30e14a4

Please sign in to comment.