diff --git a/inst/include/interface/rcpp/rcpp_objects/rcpp_population.hpp b/inst/include/interface/rcpp/rcpp_objects/rcpp_population.hpp index fb54c6714..c09c7a82a 100644 --- a/inst/include/interface/rcpp/rcpp_objects/rcpp_population.hpp +++ b/inst/include/interface/rcpp/rcpp_objects/rcpp_population.hpp @@ -330,7 +330,7 @@ class PopulationInterface : public PopulationInterfaceBase { static_cast(this->n_years.get() * this->n_ages.get()) && this->log_M.size() != 1) { throw std::invalid_argument( - "Population log_M size mismatch." + "Population log_M size mismatch. " "Population log_M is of size " + fims::to_string(this->log_M.size()) + ". Population log_M can only be either of size 1 or n_years * " +