Skip to content

Commit

Permalink
Merge pull request #560 from gregorgorjanc/devel
Browse files Browse the repository at this point in the history
Fixing SP stuff
  • Loading branch information
gregorgorjanc authored Dec 20, 2023
2 parents 872be38 + 650d696 commit 7875bd9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions R/Functions_L0_auxilary.R
Original file line number Diff line number Diff line change
Expand Up @@ -2513,7 +2513,7 @@ getCsdGeno <- function(x, caste = NULL, nInd = NULL, dronesHaploid = TRUE,
simParamBee$csdPosStart:simParamBee$csdPosStop,
sep="_"), simParam = simParamBee)
if (dronesHaploid && any(x@sex == "M")) {
ret <- reduceDroneGeno(geno = ret, pop = x, simParamBee = SP)
ret <- reduceDroneGeno(geno = ret, pop = x)
}
} else if (isColony(x)) {
if (is.null(caste)) {
Expand All @@ -2539,8 +2539,7 @@ getCsdGeno <- function(x, caste = NULL, nInd = NULL, dronesHaploid = TRUE,
} else {
ret <- getCsdGeno(
x = getCastePop(x, caste, simParamBee = simParamBee), nInd = nInd,
dronesHaploid = dronesHaploid,
simParamBee = simParamBee
dronesHaploid = dronesHaploid, simParamBee = simParamBee
)
}
} else if (isMultiColony(x)) {
Expand Down
8 changes: 4 additions & 4 deletions man/MultiColony-class.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7875bd9

Please sign in to comment.