diff --git a/lib/evolve_discrete_demes/evolvets.cc b/lib/evolve_discrete_demes/evolvets.cc index 82878d4a8..3005e2e0d 100644 --- a/lib/evolve_discrete_demes/evolvets.cc +++ b/lib/evolve_discrete_demes/evolvets.cc @@ -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());