Skip to content

Commit 004f0d1

Browse files
committed
- fixing a typo in the tests
1 parent 8fa36e3 commit 004f0d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/setup.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ getPosteriorI_vec <- function(
340340
comp_indx <- createMapping(prior_list)
341341
comp_mat_ind <- do.call("expand.grid", comp_indx)
342342

343-
attr(post_list, "ess") <- calcEss(calc_ess, post_list)
343+
attr(post_list, "ess") <- if (calc_ess) getESS(post_list) else numeric(0)
344344

345345
diagonals <- lapply(seq_along(comp_mat_ind[, 1]), function(x) {
346346

0 commit comments

Comments
 (0)