Skip to content

Commit

Permalink
Merge pull request #279 from ludopulles/master
Browse files Browse the repository at this point in the history
Refactor BKZ 2.0 simulator
  • Loading branch information
malb authored Dec 2, 2024
2 parents c5dd543 + ce740e5 commit dada2f9
Show file tree
Hide file tree
Showing 3 changed files with 195 additions and 189 deletions.
2 changes: 1 addition & 1 deletion src/fpylll/algorithms/babai.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def babai(B, t, *args, **kwargs):
This implementation is more numerically stable compared to the one offered by `MatGSO.babai()`.
On the other hand, this implementation will only accept tatgets with Integer coefficients.
EXAMPLE ::
EXAMPLE::
>>> from fpylll import *
>>> n = 10
Expand Down
2 changes: 1 addition & 1 deletion src/fpylll/fplll/svpcvp.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def closest_vector(IntegerMatrix B, t, method="fast", int flags=CVP_DEFAULT):
:param int flags: Either ``CVP.DEFAULT`` or ``CVP.VERBOSE``.
:returns coordinates of the solution vector:
EXAMPLE ::
EXAMPLE::
>>> from fpylll import *
>>> FPLLL.set_random_seed(42)
Expand Down
Loading

0 comments on commit dada2f9

Please sign in to comment.