Skip to content

Commit 7c6b462

Browse files
author
Juan Orduz
committed
some fixes
1 parent 2caed89 commit 7c6b462

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc_bart/pgbart.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ def draw_leaf_value(
556556
) -> tuple[npt.NDArray[np.float64], Optional[npt.NDArray[np.float64]]]:
557557
"""Draw Gaussian distributed leaf values."""
558558
linear_params = None
559-
mu_mean: npt.NDArray[np.float64] = np.empty(shape)
559+
mu_mean: npt.NDArray[np.float64]
560560
if y_mu_pred.size == 0:
561561
return np.zeros(shape), linear_params
562562

0 commit comments

Comments
 (0)