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

check that mutation keys are sorted #64

Closed molpopgen closed 6 years ago

molpopgen commented 6 years ago

PR #56 fails to enforce the requirement that mutations keys stored in gametes are sorted by position. This PR throws an exception when that condition is not met.