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

Bug in sampling #29

Closed molpopgen closed 8 years ago

molpopgen commented 8 years ago

Neutral mutations with sample frequencies exactly equal to one-half the sample size are being dropped because of an incorrect check when removing fixed variants. This only affects the output when attempting to remove fixed variants.

molpopgen commented 8 years ago

Fixed in release 0.4.3

For the record, this was probably introduced relatively recently, but I haven't done that homework yet.