Skip to content

Commit

Permalink
bugfix for postprocessing
Browse files Browse the repository at this point in the history
  • Loading branch information
malb committed Jul 15, 2017
1 parent f84a547 commit 0a9f4db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fpylll/algorithms/bkz.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def svp_postprocessing(self, kappa, block_size, solution, tracer):

j_nz = None

for i in range(block_size):
for i in range(block_size)[::-1]:
if abs(solution[i]) == 1:
j_nz = i
break
Expand Down

0 comments on commit 0a9f4db

Please sign in to comment.