Skip to content

Commit

Permalink
fix function declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea-Havron-NOAA committed Aug 1, 2024
1 parent e6fcd28 commit a4468b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inst/include/population_dynamics/fleet/fleet.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ struct Fleet : public fims_model_object::FIMSObject<Type> {
}
}

virtual void const Type evaluate_age_comp() {
void const Type evaluate_age_comp() {
for (size_t y = 0; y < this->nyears; y++) {
Type sum = 0.0;
for (size_t a = 0; a < this->nages; a++) {
Expand All @@ -170,7 +170,7 @@ struct Fleet : public fims_model_object::FIMSObject<Type> {
}
}

virtual void const Type evaluate_index() {
void const Type evaluate_index() {
for(size_t i=0; i<this->expected_index.size(); i++){
expected_index[i] = log(this->expected_index[i]);
}
Expand Down

0 comments on commit a4468b6

Please sign in to comment.