Skip to content

Commit

Permalink
Merge branch 'dev' into sparse_M
Browse files Browse the repository at this point in the history
  • Loading branch information
Cole-Monnahan-NOAA committed May 31, 2024
2 parents eff7068 + 54066f1 commit 1a28701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ extract_sampler_params <- function(fit, inc_warmup=FALSE){
its <- 1:length(ind)
} else{
ind <- -(1:fit$warmup)
its <- (1:length(ind)) + fit$warmup
its <- (1:nrow(x[[1]]))[ind]
}
y <- do.call(rbind, lapply(1:length(x), function(i)
cbind(chain=i, iteration=its, x[[i]][ind,])))
Expand Down

0 comments on commit 1a28701

Please sign in to comment.