Skip to content

Commit

Permalink
Assign updated Herm to MOM@SexPars for SimulateMOM
Browse files Browse the repository at this point in the history
  • Loading branch information
quang-huynh committed Dec 19, 2024
1 parent 0a78a9a commit 2c2d017
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: MSEtool
Title: Management Strategy Evaluation Toolkit
Version: 3.7.4
Version: 3.7.9999
Authors@R: c(
person("Adrian", "Hordyk", email = "adrian@bluematterscience.com", role = c("aut", "cre")),
person("Quang", "Huynh", email = "quang@bluematterscience.com", role = "aut"),
Expand Down
2 changes: 1 addition & 1 deletion R/multiMSE.R
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ SimulateMOM <- function(MOM=MSEtool::Albacore_TwoFleet, parallel=TRUE, silent=FA
# from females to males
if (length(SexPars)) {
if (length(SexPars$Herm)) {
SexPars$Herm <- checkHerm(SexPars$Herm, maxage, nsim, nyears, proyears)
MOM@SexPars$Herm <- SexPars$Herm <- checkHerm(SexPars$Herm, maxage, nsim, nyears, proyears)
}
if (is.null(SexPars$share_par) || SexPars$share_par == TRUE) {
sexmatches <- sapply(1:nrow(SexPars$SSBfrom), function(x) paste(SexPars$SSBfrom[x, ], collapse = "_"))
Expand Down

0 comments on commit 2c2d017

Please sign in to comment.