shogun-toolbox/shogun — pull request #1143 by tklein23 (2013-06-04 09:19:02+00:00)
Title: Fixed: Segfault when sorting empty lists using CMath::qsort()

The patch fixes the pre-condition in qsort. Sorting an empty list is a no-op, so simply return if size is <= 1.