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

mlocuspop ambiguous constructor #181

Closed molpopgen closed 5 years ago

molpopgen commented 5 years ago

The constructor for this class is ambiguous when you try to initialize with locus_boundaries. The problem is hidden by default arguments, but a conflict with the perfect-forwarding constructor arises when you try to override the defaults.

This bug is not triggered in fwdpy11 because the MlocusPop there doesn't derive from the fwdpp type.

This bug will be fixed in #178 if/when that PR is merged.

molpopgen commented 5 years ago

Fixed by #178, which is now merged to master.