From 472147f448dd5c5dff54a09bde3754bf14b60f61 Mon Sep 17 00:00:00 2001 From: Jared Murray <30992825+jaredsmurray@users.noreply.github.com> Date: Thu, 23 Oct 2025 11:55:22 -0500 Subject: [PATCH] Hotfix for bcf.predict without propensity scores the new dataset for predictions takes X_combined, which wasn't created when propensity_covariate="none" --- R/bcf.R | 1 + 1 file changed, 1 insertion(+) diff --git a/R/bcf.R b/R/bcf.R index 2d02cb6b..2d1564fa 100644 --- a/R/bcf.R +++ b/R/bcf.R @@ -2707,6 +2707,7 @@ predict.bcfmodel <- function( } # Add propensities to covariate set if necessary + X_combined <- X if (object$model_params$propensity_covariate != "none") { X_combined <- cbind(X, propensity) }