Skip to content

Commit

Permalink
random starting point to test
Browse files Browse the repository at this point in the history
  • Loading branch information
bencrts committed Aug 2, 2024
1 parent bfbd74e commit 43d9def
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions estimator/lwe_dual.py
Original file line number Diff line number Diff line change
Expand Up @@ -650,9 +650,10 @@ def __call__(
params = params.normalize()

for p in early_abort_range(2, params.q):
for k_enum in early_abort_range(0, params.n, 5):
for k_fft in early_abort_range(0, params.n - k_enum[0], 5):
with local_minimum(40, params.n, log_level=log_level + 4) as it:
for k_enum in early_abort_range(0, params.n, 10):
for k_fft in early_abort_range(0, params.n - k_enum[0], 10):
# RC.ADPS16(1754, 1754) ~ 2^(512)
with local_minimum(40, min(params.n, 1754), log_level=log_level + 4) as it:
for beta in it:
cost = self.cost(
beta,
Expand Down

0 comments on commit 43d9def

Please sign in to comment.