Skip to content

Commit

Permalink
fix data type of dims
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea-Havron-NOAA committed Aug 1, 2024
1 parent 6f282a1 commit dbabe13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inst/include/distributions/functors/multinomial_lpmf.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ namespace fims_distributions
*/
virtual const Type evaluate()
{
std::vector dims;
std::vector<Type> dims;
dims.resize(2)
dims[0] = this->x->get_imax();
dims[1] = this->x->get_jmax();
Expand Down
2 changes: 1 addition & 1 deletion inst/include/population_dynamics/fleet/fleet.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ struct Fleet : public fims_model_object::FIMSObject<Type> {
}

virtual const Type evaluate_age_comp() {
std::vector dims;
std::vector<Type> dims;
dims.resize(2)
dims[0] = this->x->get_imax();
dims[1] = this->x->get_jmax();
Expand Down

0 comments on commit dbabe13

Please sign in to comment.