Skip to content

Commit

Permalink
remove events from p2p return values
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfikl committed Sep 23, 2022
1 parent 44845fa commit 16740c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pytential/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def exec_compute_potential_insn(self, actx, insn, bound_expr, evaluate,
p2p = self.get_p2p(actx, source_kernels=insn.source_kernels,
target_kernels=insn.target_kernels)

evt, output_for_each_kernel = p2p(actx,
output_for_each_kernel = p2p(actx,
targets=flatten(target_discr.nodes(), actx, leaf_class=DOFArray),
sources=self._nodes,
strength=strengths, **kernel_args)
Expand Down
2 changes: 1 addition & 1 deletion pytential/unregularized.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def exec_compute_potential_insn_direct(self, actx: PyOpenCLArrayContext,
p2p = self.get_p2p(actx, source_kernels=insn.source_kernels,
target_kernels=insn.target_kernels)

evt, output_for_each_kernel = p2p(actx,
output_for_each_kernel = p2p(actx,
targets=flatten(target_discr.nodes(), actx, leaf_class=DOFArray),
sources=flatten(
self.density_discr.nodes(), actx, leaf_class=DOFArray
Expand Down

0 comments on commit 16740c8

Please sign in to comment.