Skip to content

Commit b31bbd0

Browse files
author
juanitorduz
committed
add m param
1 parent 8f5b293 commit b31bbd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc_bart/bart.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def rng_fn(cls, rng=None, X=None, Y=None, m=None, alpha=None, split_prior=None,
5252
else:
5353
return np.full(cls.Y.shape[0], cls.Y.mean())
5454
else:
55-
return _sample_posterior(cls.all_trees, cls.X, rng=rng).squeeze().T
55+
return _sample_posterior(cls.all_trees, cls.X, cls.m, rng=rng).squeeze().T
5656

5757

5858
bart = BARTRV()

0 commit comments

Comments
 (0)