Skip to content

Commit

Permalink
resolve merge conflict errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristineStawitz-NOAA committed Nov 7, 2023
1 parent 6d4b460 commit fa2648c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
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 @@ -163,7 +163,7 @@ struct Fleet : public fims_model_object::FIMSObject<Type> {
for (size_t y = 0; y < this->nyears; y++) {
// EigenVector declares a vector type from the Eigen library, which is
// the expected type for TMB's dmultinom
using Vector = typename fims::fims::Vector<Type>;
using Vector = typename fims::Vector<Type>;
Vector observed_acomp;
Vector expected_acomp;

Expand Down
10 changes: 5 additions & 5 deletions inst/include/population_dynamics/population/population.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include "../../interface/interface.hpp"
#include "../maturity/maturity.hpp"

namespace fims {
namespace fims_popdy {
/*TODO:
Review, add functions to evaluate, push vectors back to fleet (or point to fleet
directly?)
Expand Down Expand Up @@ -86,22 +86,22 @@ struct Population : public fims_model_object::FIMSObject<Type> {
fims::Vector<Type> expected_recruitment; /*!< Expected recruitment */
/// recruitment
int recruitment_id = -999; /*!< id of recruitment model object*/
std::shared_ptr<RecruitmentBase<Type>>
std::shared_ptr<fims_popdy::RecruitmentBase<Type>>
recruitment; /*!< shared pointer to recruitment module */

// growth
int growth_id = -999; /*!< id of growth model object*/
std::shared_ptr<GrowthBase<Type>>
std::shared_ptr<fims_popdy::GrowthBase<Type>>
growth; /*!< shared pointer to growth module */

// maturity
int maturity_id = -999; /*!< id of maturity model object*/
std::shared_ptr<MaturityBase<Type>>
std::shared_ptr<fims_popdy::MaturityBase<Type>>
maturity; /*!< shared pointer to maturity module */

// fleet
int fleet_id = -999; /*!< id of fleet model object*/
std::vector<std::shared_ptr<Fleet<Type>>>
std::vector<std::shared_ptr<fims_popdy::Fleet<Type>>>
fleets; /*!< shared pointer to fleet module */

// Define objective function object to be able to REPORT and ADREPORT
Expand Down

0 comments on commit fa2648c

Please sign in to comment.