shogun-toolbox/shogun — pull request #1144 by tklein23 (2013-06-04 09:38:15+00:00)
Title: Fixed: Segfault when sorting empty lists using CMath::qsort() (re-sent to develop)

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