Skip to content

Commit d8f7d22

Browse files
committed
Rename moment_marginal_mixture function
For consistency with other Mixture dispatched functions
1 parent 623fc91 commit d8f7d22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc/distributions/mixture.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ def marginal_mixture_logcdf(op, value, rng, weights, *components, **kwargs):
439439

440440

441441
@_moment.register(MarginalMixtureRV)
442-
def moment_marginal_mixture(op, rv, rng, weights, *components):
442+
def marginal_mixture_moment(op, rv, rng, weights, *components):
443443
ndim_supp = components[0].owner.op.ndim_supp
444444
weights = at.shape_padright(weights, ndim_supp)
445445
mix_axis = -ndim_supp - 1

0 commit comments

Comments
 (0)