Skip to content

Commit 5f265a9

Browse files
committed
fix parsing error
1 parent 6a7ddd3 commit 5f265a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/mcmc.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ run_mcmc <-
7373
## if is_missing == FALSE, then generate a default FALSE matrix
7474
suppressWarnings({
7575
if (inherits(mcmc_args$is_missing, "logical") && mcmc_args$is_missing == FALSE) {
76-
num_loci <- length(mcmc_args$data)
77-
num_biological_samples <- length(mcmc_args$data[[1]])
76+
num_loci <- length(mcmc_args$loci)
77+
num_biological_samples <- length(mcmc_args$sample_ids)
7878
mcmc_args$is_missing <- matrix(
7979
FALSE,
8080
nrow = num_loci,

0 commit comments

Comments
 (0)