Skip to content

Commit

Permalink
Fix corner case
Browse files Browse the repository at this point in the history
  • Loading branch information
sv2518 committed Aug 31, 2022
1 parent 0efb3d5 commit 6023a98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firedrake/slate/slac/kernel_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,7 @@ def generate_matfsolve_call(self, ctx, insn, expr):
""",
corner_case,
f""" <> alpha = rk_norm / p_on_Ap {{dep={preconverged_criterion_id}, id=alpha}}
{x}[i_7] = {x}[i_7] + alpha*{p}[i_7] {{dep=ponAp, id=xk}}
{x}[i_7] = {x}[i_7] + alpha*{p}[i_7] {{dep=alpha, id=xk}}
r[i_8] = r[i_8] + alpha*{A_on_p}[i_8] {{dep=xk,id=rk}}
""",
Expand Down

0 comments on commit 6023a98

Please sign in to comment.