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 example program #182

Closed molpopgen closed 5 years ago

molpopgen commented 5 years ago

The following code block is wrong and need to be removed from examples/simplify_tables.hpp. It only gets triggered in debug mode and what we think we are testing is already tested for at line 564 of table_simplifier.hpp.


#ifndef NDEBUG
    for (auto &s : tables.preserved_nodes)
        {
            assert(rv.first[s] != -1);
        }
#endif