#130 fixed radix sort for python 3

This commit is contained in:
KuLi 2017-09-29 23:47:24 +02:00
parent aa8485b4df
commit edcf6d54b6

View File

@ -10,7 +10,7 @@ def radixsort(lst):
# split lst between lists
for i in lst:
tmp = i / placement
tmp = i // placement
buckets[tmp % RADIX].append( i )
if maxLength and tmp > 0:
maxLength = False