Skip to content

Commit

Permalink
Use ordered_univariate in documentation example of NormalMixture (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpg authored Aug 6, 2023
1 parent 2644f2c commit ccad4c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymc/distributions/mixture.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ class NormalMixture:
mu=data.mean(),
sigma=10,
shape=n_components,
transform=pm.transforms.ordered,
transform=pm.distributions.transforms.univariate_ordered,
initval=[1, 2, 3],
)
σ = pm.HalfNormal("σ", sigma=10, shape=n_components)
Expand Down

0 comments on commit ccad4c8

Please sign in to comment.