mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-01-09 13:37:58 -05:00
Bug when using @for_range_opt with cint.
This commit is contained in:
@@ -940,6 +940,7 @@ def map_reduce_single(n_parallel, n_loops, initializer=lambda *x: [],
|
||||
use_array = True
|
||||
if not util.is_constant(n_loops):
|
||||
budget //= 10
|
||||
n_loops = regint(n_loops)
|
||||
def decorator(loop_body):
|
||||
my_n_parallel = n_parallel
|
||||
if isinstance(n_parallel, int):
|
||||
|
||||
Reference in New Issue
Block a user