Skip to content

Commit

Permalink
fix unconditional forge
Browse files Browse the repository at this point in the history
  • Loading branch information
mnwright committed Feb 9, 2024
1 parent c09b12f commit 7cead3a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/forge.R
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ forge <- function(
omega <- params$forest[, .(f_idx, cvg)]
omega[, wt := cvg / num_trees]
omega[, cvg := NULL]
omega[, row_idx := 1]
} else if (isTRUE(conj)) {
omega <- leaf_posterior(params, evidence)
} else {
Expand Down

0 comments on commit 7cead3a

Please sign in to comment.