Skip to content

Commit

Permalink
rename moment to support_point (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloGGaray authored Mar 15, 2024
1 parent 02bb110 commit f13f9e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pymc_bart/bart.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import numpy.typing as npt
import pytensor.tensor as pt
from pandas import DataFrame, Series
from pymc.distributions.distribution import Distribution, _moment
from pymc.distributions.distribution import Distribution, _support_point
from pymc.logprob.abstract import _logprob
from pytensor.tensor.random.op import RandomVariable

Expand Down Expand Up @@ -164,7 +164,7 @@ def __new__(

Distribution.register(BARTRV)

@_moment.register(BARTRV)
@_support_point.register(BARTRV)
def get_moment(rv, size, *rv_inputs):
return cls.get_moment(rv, size, *rv_inputs)

Expand Down

0 comments on commit f13f9e4

Please sign in to comment.