Skip to content

Commit

Permalink
Neg just adds to the queue as well for now
Browse files Browse the repository at this point in the history
  • Loading branch information
BradenEverson committed Mar 5, 2024
1 parent 18ac492 commit 562c5d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/graph/consteval.rs
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,9 @@ impl Context {

},
Operation::Neg(a) => {
//TODO
if let None = self.nodes[a].is_const() {
to_visit.push(a);
}
}
Operation::GreaterThan(a, b)
| Operation::GreaterThanEq(a, b)
Expand Down

0 comments on commit 562c5d6

Please sign in to comment.