Ecogenomics / BamM

Metagenomics-focused BAM file manipulation
http://ecogenomics.github.io/BamM/
GNU Lesser General Public License v3.0
16 stars 7 forks source link

BM_median causes segfault for empty array #6

Closed donovan-h-parks closed 10 years ago

donovan-h-parks commented 10 years ago

Passing an empty array to BM_median will cause a segfault.

donovan-h-parks commented 10 years ago

BM_median now returns NAN when given an empty array.