Skip to content

Commit

Permalink
Use PBO.varmul for more stable handling
Browse files Browse the repository at this point in the history
  • Loading branch information
pedromxavier committed Sep 19, 2024
1 parent 8fa25e2 commit ef079aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/parse.jl
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ function parse!(

for (ωi, di) in Virtual.expansion(vi)
for (ωj, dj) in Virtual.expansion(vj)
ωij = union!(VI[], ωi, ωj)
ωij = PBO.varmul(ωi, ωj)::PBO.Term{VI}

g[ωij] += c * di * dj
end
Expand Down

0 comments on commit ef079aa

Please sign in to comment.