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

Dispatch to gamete_cleaner is not working properly. #32

Closed molpopgen closed 8 years ago

molpopgen commented 8 years ago

Each generation, a decision is made re: removing or not removing fixed mutations from gametes. Currently, only the latter is supported, due to a mistake in dispatching the policy to the gamete_cleaner function.

Fixing this bug has revealed some other issues, like the absence of an overload of KTfwd::update_mutations that doesn't mark fixed variants for recycling.

molpopgen commented 8 years ago

Issue now fixed and unit-tested.