We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cebc7d commit b735815Copy full SHA for b735815
R/fit.R
@@ -1091,7 +1091,7 @@ sdmTMB <- function(
1091
1092
# expand sigma_V priors if needed
1093
if (nrow(priors_sigma_V) == 1L && ncol(X_rw_ik) > 1L) {
1094
- priors_sigma_V <- replicate(ncol(X_rw_ik), priors_sigma_V, simplify = "matrix")
+ priors_sigma_V <- t(replicate(ncol(X_rw_ik), priors_sigma_V, simplify = "matrix"))
1095
}
1096
if (nrow(priors_sigma_V) != ncol(X_rw_ik)) {
1097
cli_abort("sigma_V (time-varying SD) priors do not match the fitted model.")
0 commit comments