molpopgen / fwdpp

fwdpp is a C++ template library for implementing efficient forward-time population genetic simulations
http://fwdpp.readthedocs.io
GNU General Public License v3.0
27 stars 11 forks source link

Fitness models should validate parameters #138

Closed molpopgen closed 6 years ago

molpopgen commented 6 years ago

Right now, it is possible to pass nan for scaling, etc. The classes should check for this and throw exceptions if bad values are encountered.