Skip to content

Commit 29dfcf3

Browse files
committed
Rename variables
1 parent 28e3ea7 commit 29dfcf3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

firedrake/adjoint_utils/blocks/assembly.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,10 @@ def solve_tlm(self):
165165
x.tlm_value = None
166166
if isinstance(tlm_rhs, int) and tlm_rhs == 0:
167167
return
168-
tau_rhs = ufl.algorithms.expand_derivatives(tlm_rhs)
169-
if tau_rhs.empty():
168+
tlm_rhs = ufl.algorithms.expand_derivatives(tlm_rhs)
169+
if tlm_rhs.empty():
170170
return
171-
x.tlm_value = firedrake.assemble(tau_rhs)
171+
x.tlm_value = firedrake.assemble(tlm_rhs)
172172

173173
def prepare_evaluate_hessian(self, inputs, hessian_inputs, adj_inputs,
174174
relevant_dependencies):

0 commit comments

Comments
 (0)