diff --git a/inst/include/population_dynamics/population/population.hpp b/inst/include/population_dynamics/population/population.hpp index aec36ba1..bc5a9205 100644 --- a/inst/include/population_dynamics/population/population.hpp +++ b/inst/include/population_dynamics/population/population.hpp @@ -541,10 +541,11 @@ struct Population : public fims_model_object::FIMSObject { POPULATION_LOG << " age-length transition matrix" << std::endl; for(size_t a = 0; a < this->nages; a++){ for(size_t l = 0; l < this->nlengths; l++){ - this->fleets[fleet_]->age_length_transition_matrix[i_age_length] = this->growth->evaluate(ages[a]); + this->fleets[fleet_]->age_length_transition_matrix[i_age_length] = this->growth->alk(ages[a]); } } } + } /** * @brief Calculates expected proportion of individuals mature at a selected