Skip to content

Commit

Permalink
wrong errortype
Browse files Browse the repository at this point in the history
  • Loading branch information
bencrts committed Feb 6, 2024
1 parent a06530a commit 0ce918f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions estimator/lwe_primal.py
Original file line number Diff line number Diff line change
Expand Up @@ -608,8 +608,8 @@ def find_zeta_max(params, red_cost_model):
# double it for mitm
return 2 * zeta_max
zeta_max +=1
except ValueError:
pass
except NotImplementedError:
return params.n
return params.n

if zeta is None:
Expand Down

0 comments on commit 0ce918f

Please sign in to comment.