Skip to content

Commit

Permalink
Remove redundant rewrite in f64 negation test
Browse files Browse the repository at this point in the history
  • Loading branch information
wbthomason committed Jul 18, 2023
1 parent f101b14 commit 9d47746
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions python/tests/test_high_level.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,12 +233,5 @@ def test_f64_negation() -> None:

# expr3 = -(-2.0)
expr3 = egraph.define("expr3", -(-f64(2.0)))

x, y = vars_("x y", f64)

egraph.register(rewrite(-(-x)).to(x))

egraph.run(10)

egraph.check(eq(expr1).to(-expr2))
egraph.check(eq(expr3).to(expr2))

0 comments on commit 9d47746

Please sign in to comment.