quickSort, along with Ordering[K], may result in stackoverflow because the code uses '==' instead of 'equiv'. #7837
The following commands will confirm the failing cases.
val indices = (0 to 99999).toArray
In Sorting.scala's code if I change lines 144 and 151 to use equiv, instead of ==, then the problem seems to be resolved.
The text was updated successfully, but these errors were encountered: