Skip to content

Commit 25f8eb2

Browse files
committed
Add unit tests
1 parent 5c23f58 commit 25f8eb2

File tree

4 files changed

+315
-114
lines changed

4 files changed

+315
-114
lines changed

examples/off-surface-eval.py

Lines changed: 0 additions & 112 deletions
This file was deleted.

pytential/qbx/distributed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ def exec_compute_potential_insn_fmm(self, actx: PyOpenCLArrayContext,
810810

811811
return results, timing_data
812812
else:
813-
results = []
813+
results = [(o.name, None) for o in insn.outputs]
814814
return results, timing_data
815815

816816

pytential/symbolic/execution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ def exec_assign(self, actx: PyOpenCLArrayContext, insn, bound_expr, evaluate):
376376
if self.comm.Get_rank() == 0:
377377
return super().exec_assign(actx, insn, bound_expr, evaluate)
378378
else:
379-
return {}
379+
return [(name, None) for name in insn.names]
380380

381381
def exec_compute_potential_insn(
382382
self, actx: PyOpenCLArrayContext, insn, bound_expr, evaluate):

0 commit comments

Comments
 (0)