Skip to content

Commit ec0a6b4

Browse files
committed
fix build error in CI
1 parent 47325fd commit ec0a6b4

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

core/population.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7787,7 +7787,7 @@ void Population::RemoveAllFixedMutations(void)
77877787
// When recording tree-sequence mutations, mutations that have been lost or removed need to be
77887788
// "retained by the tree sequence" since they are still present in derived states, so that their
77897789
// metadata is preserved. The tree sequence thus takes over their retain here.
7790-
std::vector<MutationIndex> &muts_tracked_by_treeseq = species_.muts_tracked_by_treeseq_;
7790+
std::vector<MutationIndex> &muts_tracked_by_treeseq = species_.MutationsTrackedByTreeSeq();
77917791

77927792
for (int i = 0; i < removed_mutation_accumulator.size(); i++)
77937793
{

core/species.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -782,6 +782,8 @@ class Species : public EidosDictionaryUnretained
782782
slim_tick_t _InitializePopulationFromTskitBinaryFile(const char *p_file, EidosInterpreter *p_interpreter, SUBPOP_REMAP_HASH &p_subpop_remap, Chromosome &p_chromosome); // initialize the population from an tskit binary file
783783
slim_tick_t _InitializePopulationFromTskitDirectory(std::string p_directory, EidosInterpreter *p_interpreter, SUBPOP_REMAP_HASH &p_subpop_remap); // initialize the population from a multi-chromosome directory
784784

785+
std::vector<MutationIndex> &MutationsTrackedByTreeSeq(void) { return muts_tracked_by_treeseq_; }
786+
785787
size_t MemoryUsageForTreeSeqInfo(TreeSeqInfo &p_tsinfo, bool p_count_shared_tables);
786788
void TSXC_Enable(void);
787789
void TSF_Enable(void);

0 commit comments

Comments
 (0)