diff --git a/tests/test_compile.py b/tests/test_compile.py index 5a3c655..0f876c0 100644 --- a/tests/test_compile.py +++ b/tests/test_compile.py @@ -49,7 +49,7 @@ def test_compile(): c2 = CPVariable(2) #ret = function(c1, c2) - ret = [c1 / 4 + 3 * 3.6] + ret = [c1 // 4] out = [Write(r) for r in ret] diff --git a/tools/make_example.py b/tools/make_example.py index 64b642d..3c70f17 100644 --- a/tools/make_example.py +++ b/tools/make_example.py @@ -8,8 +8,7 @@ def test_compile() -> None: c1 = CPVariable(9) #ret = [c1 / 4, c1 / -4, c1 // 4, c1 // -4, (c1 * -1) // 4] - #ret = [c1 // 4] - ret = [c1 / 4 + 3 * 3.6] + ret = [c1 // 4] out = [Write(r) for r in ret]