mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 03:55:04 -05:00
fix: fix issues for certain form of functions
Table which was created contained too large values, for cells which were never accessed closes #949
This commit is contained in:
committed by
Benoit Chevallier
parent
62475c34cd
commit
39b168dfd5
@@ -683,9 +683,8 @@ def test_compile_and_run_correctness(
|
||||
[
|
||||
pytest.param(lambda x: x ** 2, ((0, 10),), ["x"]),
|
||||
pytest.param(lambda x: 2 ** (x % 5), ((0, 20),), ["x"]),
|
||||
# FIXME: Fails, #949 pytest.param(lambda x: abs(~x), ((0, 13),), ["x"]),
|
||||
pytest.param(lambda x: x << 1, ((0, 13),), ["x"]),
|
||||
# FIXME: Fails, #949 pytest.param(lambda x: 2 << (x % 6), ((0, 13),), ["x"]),
|
||||
pytest.param(lambda x: 2 << (x % 6), ((0, 13),), ["x"]),
|
||||
pytest.param(lambda x: x >> 2, ((30, 100),), ["x"]),
|
||||
pytest.param(lambda x: 115 >> (x % 3), ((0, 17),), ["x"]),
|
||||
pytest.param(lambda x: x % 7, ((0, 100),), ["x"]),
|
||||
|
||||
Reference in New Issue
Block a user