Skip to content

Commit ae737f7

Browse files
committed
reapply zero addition to local_bdry_data
test failure was caused by bug in test (that has since been fixed)
1 parent 573145b commit ae737f7

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

grudge/trace_pair.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -719,12 +719,9 @@ def recv_single_array(key, remote_subary_template):
719719
# Add the dummy zeros and hope that the caller proceeds to actually
720720
# use some of this data on every rank...
721721
from arraycontext import rec_map_array_container
722-
# This caused test_mpi_communication.py::test_func_comparison_mpi to fail
723-
# for some reason
724-
# self.local_bdry_data = rec_map_array_container(
725-
# lambda x: x + zero,
726-
# local_bdry_data)
727-
self.local_bdry_data = local_bdry_data
722+
self.local_bdry_data = rec_map_array_container(
723+
lambda x: x + zero,
724+
local_bdry_data)
728725
self.unswapped_remote_bdry_data = rec_map_array_container(
729726
lambda x: x + zero,
730727
unswapped_remote_bdry_data)

0 commit comments

Comments
 (0)