sortvis icon indicating copy to clipboard operation
sortvis copied to clipboard

AssertionError in Bitonic Sort

Open akerbos opened this issue 9 years ago • 0 comments

Running

sortvis weave -x 850 -t -n 20 -c gradient

as given on your website, I get this:

    110 comparisons
    67 comparisons
    154 comparisons
Traceback (most recent call last):
  File "./sortvis", line 305, in <module>
    main()
  File "./sortvis", line 282, in main
    algos.algorithms[i](track)
  File "/.../sortvis/libsortvis/algos/bitonicsort.py", line 30, in bitonicsort
    assert math.modf(math.log(len(lst), 2))[0] == 0
AssertionError

akerbos avatar Jul 04 '16 17:07 akerbos