Skip to content

Commit

Permalink
Formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
lkdvos committed Apr 2, 2024
1 parent ccfeb72 commit 14f6e69
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/planar/postprocessors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
# to correct for this by adding the `istemp = true` flag.
function _annotate_temporaries(ex, temporaries)
if isexpr(ex, :(=)) && isexpr(ex.args[2], :call) &&
ex.args[2].args[1] (GlobalRef(TO,:tensoralloc_add), GlobalRef(TO,:tensoralloc_contract))
ex.args[2].args[1]
(GlobalRef(TO, :tensoralloc_add), GlobalRef(TO, :tensoralloc_contract))
lhs = ex.args[1]
i = findfirst(==(lhs), temporaries)
if i !== nothing
Expand Down

0 comments on commit 14f6e69

Please sign in to comment.