kreft / iDynoMiCS

Individual-based Dynamics of Microbial Communities Simulator
Other
18 stars 37 forks source link

Warning message if array empty #38

Closed roughhawkbit closed 10 years ago

roughhawkbit commented 10 years ago

Following fophillips comment on pull request #37, I've added warning messages in the case that the array given to mean() or stddev() is empty or contains only values that are NaN/infinite