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

Metapopulation bug #5

Closed molpopgen closed 9 years ago

molpopgen commented 9 years ago

Gamete counts are getting to be >= sum(deme sizes), which is a bug

To replicate:

  1. run ./configure to generate config.h
  2. cd examples.
  3. g++ -DHAVE_CONFIG_H -I. -I.. -Wall -W -I. -std=c++11 -g -std=c++11 -o migsel_ind migsel_ind.cc -lboost_system -lsequence -lgsl -lgslcblas -lz
  4. ./migsel_ind 1000 10 1 10 0.01 0.01 1 0 0 100000 50 outfile 101
molpopgen commented 9 years ago

Fixed upstream in dev, and fix will be part of 0.2.8 release.