Skip to content

Commit

Permalink
there is no xrange in Python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
malb committed Apr 28, 2018
1 parent 1ab6182 commit ddf37d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fpylll/tools/bkz_simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def simulate(r, param):

for i in range(max_loops):
phi = True
for k in xrange(d-min(45, param.block_size)):
for k in range(d-min(45, param.block_size)):
beta = min(param.block_size, d - k)
f = k + beta
logV = sum(r1[:f]) - sum(r2[:k])
Expand Down

0 comments on commit ddf37d2

Please sign in to comment.