Skip to content

Commit

Permalink
Merge pull request #1553 from emollier/sympy-1.13
Browse files Browse the repository at this point in the history
b/t/test_codegen.py: fix 2.00000000000000 == 2
  • Loading branch information
mstimberg authored Sep 2, 2024
2 parents c73fc0d + 8ed663c commit 5009b85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brian2/tests/test_codegen.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ def test_automatic_augmented_assignments():
("x = x - 3.0", "x += -3.0"),
("x = x/2.0", "x *= 0.5"),
("x = y + (x + 1.0)", "x += y + 1.0"),
("x = x + x", "x *= 2.0"),
("x = x + x", "x *= 2"),
("x = x + y + z", "x += y + z"),
("x = x + y + z", "x += y + z"),
# examples that should not be rewritten
Expand Down

0 comments on commit 5009b85

Please sign in to comment.