Skip to content

Commit

Permalink
fix error checking remapped node IDs for preserved nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
molpopgen committed Nov 28, 2018
1 parent b8ea7cc commit 02dcb03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/simplify_tables.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ simplify_tables(poptype &pop, const fwdpp::uint_t generation,
#ifndef NDEBUG
for (auto &s : tables.preserved_nodes)
{
assert(rv.first[s] != 1);
assert(rv.first[s] != -1);
}
#endif
if (!preserve_fixations)
Expand Down

0 comments on commit 02dcb03

Please sign in to comment.