Skip to content

Commit 02dcb03

Browse files
committed
fix error checking remapped node IDs for preserved nodes
1 parent b8ea7cc commit 02dcb03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/simplify_tables.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ simplify_tables(poptype &pop, const fwdpp::uint_t generation,
3232
#ifndef NDEBUG
3333
for (auto &s : tables.preserved_nodes)
3434
{
35-
assert(rv.first[s] != 1);
35+
assert(rv.first[s] != -1);
3636
}
3737
#endif
3838
if (!preserve_fixations)

0 commit comments

Comments
 (0)