Skip to content

Commit fa679b3

Browse files
authored
Apply suggestions from code review
1 parent 774872e commit fa679b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

firedrake/interpolation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -958,7 +958,7 @@ def callable():
958958
sub_tensor = tensor[indices[0]] if rank == 1 else tensor
959959
if isinstance(sub_expr, ufl.ZeroBaseForm):
960960
if access == op2.WRITE:
961-
sub_tensor.zero()
961+
loops.append(sub_tensor.zero)
962962
continue
963963
arguments = sub_expr.arguments()
964964
sub_space = sub_expr.argument_slots()[0].function_space().dual()

0 commit comments

Comments
 (0)