Skip to content

Commit d91ee5e

Browse files
committed
fix some CI build issues
1 parent 5a1f9b9 commit d91ee5e

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

core/haplosome.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1298,7 +1298,7 @@ EidosValue_SP Haplosome::ExecuteMethod_sumOfMutationsOfType(EidosGlobalStringID
12981298
}
12991299

13001300
// print the sample represented by haplosomes, using SLiM's own format
1301-
void Haplosome::PrintHaplosomes_SLiM(std::ostream &p_out, std::vector<Haplosome *> &p_haplosomes, const Chromosome &p_chromosome)
1301+
void Haplosome::PrintHaplosomes_SLiM(std::ostream &p_out, std::vector<Haplosome *> &p_haplosomes)
13021302
{
13031303
Mutation *mut_block_ptr = gSLiM_Mutation_Block;
13041304
slim_popsize_t sample_size = (slim_popsize_t)p_haplosomes.size();
@@ -3104,7 +3104,7 @@ EidosValue_SP Haplosome_Class::ExecuteMethod_outputX(EidosGlobalStringID p_metho
31043104

31053105
// Call out to print the actual sample
31063106
if (p_method_id == gID_output)
3107-
Haplosome::PrintHaplosomes_SLiM(output_stream, haplosomes, *chromosome);
3107+
Haplosome::PrintHaplosomes_SLiM(output_stream, haplosomes);
31083108
else if (p_method_id == gID_outputMS)
31093109
Haplosome::PrintHaplosomes_MS(output_stream, haplosomes, *chromosome, filter_monomorphic);
31103110
else if (p_method_id == gID_outputVCF)
@@ -3139,7 +3139,7 @@ EidosValue_SP Haplosome_Class::ExecuteMethod_outputX(EidosGlobalStringID p_metho
31393139

31403140
outfile << " " << outfile_path << std::endl;
31413141

3142-
Haplosome::PrintHaplosomes_SLiM(outfile, haplosomes, *chromosome);
3142+
Haplosome::PrintHaplosomes_SLiM(outfile, haplosomes);
31433143
break;
31443144
case gID_outputMS:
31453145
Haplosome::PrintHaplosomes_MS(outfile, haplosomes, *chromosome, filter_monomorphic);

core/haplosome.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ class Haplosome : public EidosObject
401401
void record_derived_states(Species *p_species) const;
402402

403403
// print the sample represented by haplosomes, using SLiM's own format
404-
static void PrintHaplosomes_SLiM(std::ostream &p_out, std::vector<Haplosome *> &p_haplosomes, const Chromosome &p_chromosome);
404+
static void PrintHaplosomes_SLiM(std::ostream &p_out, std::vector<Haplosome *> &p_haplosomes);
405405

406406
// print the sample represented by haplosomes, using "ms" format
407407
static void PrintHaplosomes_MS(std::ostream &p_out, std::vector<Haplosome *> &p_haplosomes, const Chromosome &p_chromosome, bool p_filter_monomorphic);

core/population.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8395,7 +8395,7 @@ void Population::PrintSample_SLiM(std::ostream &p_out, Subpopulation &p_subpop,
83958395
}
83968396

83978397
// print the sample using Haplosome's static member function
8398-
Haplosome::PrintHaplosomes_SLiM(p_out, sample, p_chromosome);
8398+
Haplosome::PrintHaplosomes_SLiM(p_out, sample);
83998399
}
84008400

84018401
// print sample of p_sample_size haplosomes from subpopulation p_subpop_id, using "ms" format

core/species.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1413,7 +1413,7 @@ slim_tick_t Species::_InitializePopulationFromTextFile(const char *p_file, Eidos
14131413
int haplosome_index = first_haplosome_index + is_individual_index_repeat;
14141414
Haplosome &haplosome = *(ind->haplosomes_[haplosome_index]);
14151415

1416-
if (haplosome.chromosome_index_ != chromosome->index_)
1416+
if (haplosome.chromosome_index_ != chromosome->Index())
14171417
EIDOS_TERMINATION << "ERROR (Species::_InitializePopulationFromTextFile): (internal error) haplosome does not belong to the focal chromosome." << EidosTerminate();
14181418

14191419
if (iss >> sub)

0 commit comments

Comments
 (0)