Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
bencrts committed Aug 2, 2024
1 parent a8611ad commit 3c1b09f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions estimator/lwe.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,16 @@ def __call__(
if params.Xs.is_sparse:
# guess zeros for uSVP if the secret is sparse
algorithms["usvp"] = partial(
partial(guess_composition.sparse_solve, primal_usvp), red_cost_model=red_cost_model, red_shape_model=red_shape_model
partial(guess_composition.sparse_solve, primal_usvp),
red_cost_model=red_cost_model,
red_shape_model=red_shape_model
)

else:
algorithms["usvp"] = partial(
primal_usvp, red_cost_model=red_cost_model, red_shape_model=red_shape_model
)

algorithms["bdd"] = partial(
primal_bdd, red_cost_model=red_cost_model, red_shape_model=red_shape_model
)
Expand Down

0 comments on commit 3c1b09f

Please sign in to comment.