Skip to content

Commit ccad4c8

Browse files
authored
Use ordered_univariate in documentation example of NormalMixture (#6842)
1 parent 2644f2c commit ccad4c8

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
@@ -539,7 +539,7 @@ class NormalMixture:
539539
mu=data.mean(),
540540
sigma=10,
541541
shape=n_components,
542-
transform=pm.transforms.ordered,
542+
transform=pm.distributions.transforms.univariate_ordered,
543543
initval=[1, 2, 3],
544544
)
545545
σ = pm.HalfNormal("σ", sigma=10, shape=n_components)

0 commit comments

Comments
 (0)