Skip to content

Commit f13f9e4

Browse files
authored
rename moment to support_point (#154)
1 parent 02bb110 commit f13f9e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymc_bart/bart.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import numpy.typing as npt
2323
import pytensor.tensor as pt
2424
from pandas import DataFrame, Series
25-
from pymc.distributions.distribution import Distribution, _moment
25+
from pymc.distributions.distribution import Distribution, _support_point
2626
from pymc.logprob.abstract import _logprob
2727
from pytensor.tensor.random.op import RandomVariable
2828

@@ -164,7 +164,7 @@ def __new__(
164164

165165
Distribution.register(BARTRV)
166166

167-
@_moment.register(BARTRV)
167+
@_support_point.register(BARTRV)
168168
def get_moment(rv, size, *rv_inputs):
169169
return cls.get_moment(rv, size, *rv_inputs)
170170

0 commit comments

Comments
 (0)