Skip to content

Commit c70eea9

Browse files
committed
flake8
1 parent 287fe82 commit c70eea9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

firedrake/adjoint_utils/blocks/function.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def solve_tlm(self):
139139
tlm_dep = block_variable.tlm_value
140140
if tlm_dep is not None:
141141
tlm_rhs = tlm_rhs + ufl.derivative(expr, dep, tlm_dep)
142-
142+
143143
x.tlm_value = None
144144
if isinstance(tlm_rhs, int) and tlm_rhs == 0:
145145
return

firedrake/adjoint_utils/blocks/solving.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ def solve_tlm(self):
326326

327327
tlm_rhs = 0
328328
tlm_bcs = []
329-
for block_variable in self.get_dependencies():
329+
for block_variable in self.get_dependencies():
330330
dep = block_variable.output
331331
if dep == x.output:
332332
continue

0 commit comments

Comments
 (0)