Closed alexnater closed 9 years ago
That indeed looks like a bug. This was introduced in 0.2.5. I'll confirm, fix, and push changes later today.
Thanks!
OK, the issue is the following:
The relevant commits:
https://github.com/molpopgen/fwdpp/commit/0de88684f46031eb5a6de88e9315ca916742d4bc https://github.com/molpopgen/fwdpp/commit/51d06781239a61d43848b2bb03fc48d91e79ac6d https://github.com/molpopgen/fwdpp/commit/d15ce4d05458ec85c1712d5848985062ff3a20c3
These changes are upstream in dev, and will be merged to master, and tagged for 0.2.9 imminently.
fitness_models.hpp - Line 81: if( !g1->smutations.empty() && g2->smutations.empty() )
instead of: if( g1->smutations.empty() && g2->smutations.empty() )