mirror of
https://github.com/zama-ai/concrete.git
synced 2026-04-17 03:00:54 -04:00
fix(fhe_circuit): update type annotations for run method
This commit is contained in:
@@ -591,7 +591,7 @@ def test_compile_and_run_dot_correctness(size, input_range, default_compilation_
|
||||
default_compilation_configuration,
|
||||
)
|
||||
|
||||
args = [[random.randint(low, high) for _ in range(size)] for __ in range(2)]
|
||||
args = [numpy.random.randint(low, high + 1, size=(size,), dtype=numpy.uint8) for __ in range(2)]
|
||||
assert compiler_engine.run(*args) == function(*args)
|
||||
|
||||
|
||||
@@ -652,7 +652,7 @@ def test_compile_and_run_constant_dot_correctness(
|
||||
default_compilation_configuration,
|
||||
)
|
||||
|
||||
args = (numpy.random.randint(low, high + 1, size=shape).tolist(),)
|
||||
args = (numpy.random.randint(low, high + 1, size=shape, dtype=numpy.uint8),)
|
||||
assert left_circuit.run(*args) == left(*args)
|
||||
assert right_circuit.run(*args) == right(*args)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user