Skip to content

Commit 1978369

Browse files
committed
R bugfix
1 parent d303fcb commit 1978369

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/posterior_transformation.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1127,7 +1127,7 @@ compute_bart_posterior_interval <- function(
11271127
("variance_forest" %in% terms) ||
11281128
(needs_covariates_intermediate))
11291129
if (needs_covariates) {
1130-
if (is.null(covariates)) {
1130+
if (is.null(X)) {
11311131
stop(
11321132
"'X' must be provided in order to compute the requested intervals"
11331133
)

0 commit comments

Comments
 (0)