Skip to content

Commit

Permalink
fix rec_nll evaluate bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea-Havron-NOAA committed Jun 4, 2024
1 parent 93c2625 commit 5c3aee3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ class BevertonHoltRecruitmentInterface : public RecruitmentInterfaceBase {
info->RegisterParameter(recruitment->log_recruit_devs[i]);
}
} else {
recruitment->estimate_log_recruit_devs = estimate_log_devs;
for (size_t i = 0; i < recruitment->log_recruit_devs.size(); i++) {
recruitment->log_recruit_devs[i] = this->log_devs[i];
}
Expand Down
5 changes: 5 additions & 0 deletions vignettes/fims-demo.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,11 @@ sdr_fixed <- summary(sdr, "fixed")
report <- obj$report()
print(sdr_fixed)
#report out nll components
report$rec_nll #recruitment
report$index_nll #fishery catch and survey index
report$age_comp_nll #fishery and survey age composition
```


Expand Down

0 comments on commit 5c3aee3

Please sign in to comment.