Skip to content

Commit

Permalink
I had one job
Browse files Browse the repository at this point in the history
  • Loading branch information
malb committed May 8, 2024
1 parent 1d6e682 commit 027c60a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion estimator/sis_lattice.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def cost_euclidean(
**kwds,
):
# Check for triviality
if params.length_bound >= sqrt(params.m) * params.q // 2:
if params.length_bound >= sqrt(params.m) * (params.q / 2):
raise ValueError("SIS trivially easy. Please set norm bound < √{m}⋅q/2.")

if d is None:
Expand Down

0 comments on commit 027c60a

Please sign in to comment.