mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-01-09 13:37:58 -05:00
Fix calculation of maximal waksman depth
This commit is contained in:
@@ -28,7 +28,7 @@ def test_case(permutation_sizes, timer_base: int | None = None):
|
||||
n_matched.update(n_matched + (revealed[i] == i))
|
||||
@if_(n_matched == len(arr))
|
||||
def didnt_permute():
|
||||
print_ln("Permutation likely didn't work.")
|
||||
print_ln("Permutation potentially didn't work (permutation might have been identity by chance).")
|
||||
crash()
|
||||
|
||||
if timer_base is not None:
|
||||
|
||||
Reference in New Issue
Block a user