Skip to content

Commit f7ab277

Browse files
authored
Merge pull request #2923 from aloctavodia/repr_latex
fix wrong parameter name in beta's repr_latex
2 parents cc4e034 + 68dfa2c commit f7ab277

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc3/distributions/continuous.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ def _repr_latex_(self, name=None, dist=None):
694694
alpha = dist.alpha
695695
beta = dist.beta
696696
name = r'\text{%s}' % name
697-
return r'${} \sim \text{{Beta}}(\mathit{{alpha}}={},~\mathit{{alpha}}={})$'.format(name,
697+
return r'${} \sim \text{{Beta}}(\mathit{{alpha}}={},~\mathit{{beta}}={})$'.format(name,
698698
get_variable_name(alpha),
699699
get_variable_name(beta))
700700

0 commit comments

Comments
 (0)