From ca9f059a4295db6269728b0b747036f995c777a9 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 8 Aug 2019 09:59:41 -0700 Subject: Added more features to the simulation. --- src/population.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/population.h') diff --git a/src/population.h b/src/population.h index c2d1bec..4c7d435 100644 --- a/src/population.h +++ b/src/population.h @@ -26,7 +26,7 @@ namespace Genetic int getSize() const { return hPhenotype.getSize(); } PhenotypeId addPhenotype( Phenotype *pNew ); - Phenotype *getPhenotype( PhenotypeId id ) + Phenotype *getPhenotype( PhenotypeId id ) const { return hPhenotype.get( id ); } bool hasProperty( PhenotypeId id, const Bu::String &sKey ) const; Bu::Variant getProperty( PhenotypeId id, const Bu::String &sKey ) const; -- cgit v1.2.3