JeffreySarnoff/SortingNetworks.jl

swapsort5 broken

JanWeidnerPTW opened this issue · 3 comments

arr = [0.610004, -0.720437, -0.444717, -0.864136, -0.155667]
swapsort(arr...)
(-0.864136, -0.444717, -0.155667, -0.720437, 0.610004)

The fourth element is the problem.

thank you

I will fix it.