Skip to content

Commit 6d080b1

Browse files
committed
fix
1 parent 139bee9 commit 6d080b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

firedrake/interpolation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ def _build_callable(self, output=None) -> None:
620620
if isinstance(sub_expr, ufl.ZeroBaseForm):
621621
continue
622622
sub_tensor = tensor[indices[0]] if self.rank == 1 else tensor
623-
loops.extend(build_interpolation_callables(sub_expr, sub_tensor, self.subset, self.access, bcs=self.bcs))
623+
loops.extend(_build_interpolation_callables(sub_expr, sub_tensor, self.access, self.subset, self.bcs))
624624

625625
if self.bcs and self.rank == 1:
626626
loops.extend(partial(bc.apply, f) for bc in self.bcs)
@@ -689,7 +689,7 @@ def callable():
689689

690690

691691
@utils.known_pyop2_safe
692-
def build_interpolation_callables(
692+
def _build_interpolation_callables(
693693
expr: ufl.Interpolate,
694694
tensor: op2.Dat | op2.Mat | op2.Global,
695695
access: Literal[op2.WRITE, op2.MIN, op2.MAX, op2.INC],

0 commit comments

Comments
 (0)