Skip to content

Commit 0444551

Browse files
committed
fix little build problems
1 parent 25f0db1 commit 0444551

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/population.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2487,7 +2487,7 @@ bool Population::ApplyRecombinationCallbacks(Individual *p_parent, Haplosome *p_
24872487
if (recombination_callback->chromosome_id_ != -1)
24882488
{
24892489
// check that this callback applies to the focal chromosome
2490-
int64_t focal_chromosome_id = p_haplosome1->AssociatedChromosome()->id_;
2490+
int64_t focal_chromosome_id = p_haplosome1->AssociatedChromosome()->ID();
24912491

24922492
if (recombination_callback->chromosome_id_ != focal_chromosome_id)
24932493
continue;

core/species_eidos.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3633,7 +3633,7 @@ EidosValue_SP Species::ExecuteMethod_registerMateModifyRecSurvCallback(EidosGlob
36333633

36343634
Chromosome *chromosome = chromosomes_[chromosome_indices[0]];
36353635

3636-
new_script_block->chromosome_id_ = chromosome->id_;
3636+
new_script_block->chromosome_id_ = chromosome->ID();
36373637
}
36383638
}
36393639

0 commit comments

Comments
 (0)