Skip to content

Commit

Permalink
reapply zero addition to local_bdry_data
Browse files Browse the repository at this point in the history
test failure was caused by bug in test (that has since been fixed)
  • Loading branch information
majosm committed Mar 25, 2022
1 parent 573145b commit ae737f7
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions grudge/trace_pair.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,12 +719,9 @@ def recv_single_array(key, remote_subary_template):
# Add the dummy zeros and hope that the caller proceeds to actually
# use some of this data on every rank...
from arraycontext import rec_map_array_container
# This caused test_mpi_communication.py::test_func_comparison_mpi to fail
# for some reason
# self.local_bdry_data = rec_map_array_container(
# lambda x: x + zero,
# local_bdry_data)
self.local_bdry_data = local_bdry_data
self.local_bdry_data = rec_map_array_container(
lambda x: x + zero,
local_bdry_data)
self.unswapped_remote_bdry_data = rec_map_array_container(
lambda x: x + zero,
unswapped_remote_bdry_data)
Expand Down

0 comments on commit ae737f7

Please sign in to comment.