Skip to content

Commit

Permalink
all tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
molpopgen committed Jul 18, 2024
1 parent f6862ac commit c826d6a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions lib/evolve_discrete_demes/evolvets.cc
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,20 @@ evolve_with_tree_sequences(
}
else
{
if (options.preserve_selected_fixations == false)
{
if (fixations_removed == false)
{
fwdpp::ts::
remove_fixations_from_haploid_genomes(
pop.haploid_genomes, pop.mutations,
pop.mcounts,
pop.mcounts_from_preserved_nodes,
2 * pop.diploids.size(),
options.preserve_selected_fixations);
fixations_removed = true;
}
}
genetics.mutation_recycling_bin = fwdpp::ts::make_mut_queue(
simplification_output.preserved_mutations,
pop.mutations.size());
Expand Down

0 comments on commit c826d6a

Please sign in to comment.