Skip to content

Commit 384224f

Browse files
authored
Merge pull request #210 from StochasticTree/jaredsmurray-patch-1
Hotfix for bcf.predict without propensity scores
2 parents 1484f8a + 472147f commit 384224f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

R/bcf.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2707,6 +2707,7 @@ predict.bcfmodel <- function(
27072707
}
27082708

27092709
# Add propensities to covariate set if necessary
2710+
X_combined <- X
27102711
if (object$model_params$propensity_covariate != "none") {
27112712
X_combined <- cbind(X, propensity)
27122713
}

0 commit comments

Comments
 (0)