Skip to content

Commit

Permalink
modify test files after main change
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea-Havron-NOAA committed Aug 26, 2024
1 parent 676a80d commit c30a0c4
Show file tree
Hide file tree
Showing 2 changed files with 288 additions and 653 deletions.
3 changes: 2 additions & 1 deletion tests/testthat/helper-integration-tests-setup.R
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ setup_and_run_FIMS <- function(iter_id,
# recruit deviations should enter the model in normal space.
# The log is taken in the likelihood calculations
# alternative setting: recruitment$log_devs <- rep(0, length(om_input$logR.resid))
recruitment$log_devs <- methods::new(ParameterVector, om_input$logR.resid, om_input$nyr)
recruitment$log_devs <- methods::new(ParameterVector, om_input$logR.resid[-1], om_input$nyr-1)

recruitment_distribution <- new(TMBDnormDistribution)
# set up logR_sd using the normal log_sd parameter
Expand Down Expand Up @@ -254,6 +254,7 @@ setup_and_run_FIMS <- function(iter_id,
return(list(
parameters = parameters,
obj = obj,
opt = opt,
report = report,
sdr_report = sdr_report,
sdr_fixed = sdr_fixed,
Expand Down
Loading

0 comments on commit c30a0c4

Please sign in to comment.