Skip to content

Commit

Permalink
shortest_vector is a static method
Browse files Browse the repository at this point in the history
  • Loading branch information
malb committed Jun 3, 2017
1 parent a529114 commit 5e2241d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fpylll/fplll/svpcvp.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def shortest_vector(IntegerMatrix B, method=None, int flags=SVP_DEFAULT, pruning
return tuple(v)

class SVP:
shortest_vector = shortest_vector
shortest_vector = staticmethod(shortest_vector)
DEFAULT = SVP_DEFAULT
VERBOSE = SVP_VERBOSE
OVERRIDE_BND = SVP_OVERRIDE_BND
Expand Down

0 comments on commit 5e2241d

Please sign in to comment.