Skip to content

Commit a187f5b

Browse files
author
Christopher Fonnesbeck
committed
Added half_cauchy to list of continuous and non-negative distributions
1 parent 0541b06 commit a187f5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymc/distributions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def poiscdf(a, x):
5757

5858
sc_continuous_distributions = ['beta', 'cauchy', 'chi2',
5959
'degenerate', 'exponential', 'exponweib',
60-
'gamma', 'half_normal',
60+
'gamma', 'half_cauchy', 'half_normal',
6161
'inverse_gamma', 'laplace', 'logistic',
6262
'lognormal', 'noncentral_t', 'normal',
6363
'pareto', 't', 'truncated_pareto', 'uniform',
@@ -69,7 +69,7 @@ def poiscdf(a, x):
6969
'discrete_uniform', 'truncated_poisson']
7070

7171
sc_nonnegative_distributions = ['bernoulli', 'beta', 'betabin', 'binomial', 'chi2', 'exponential',
72-
'exponweib', 'gamma', 'half_normal',
72+
'exponweib', 'gamma', 'half_cauchy', 'half_normal',
7373
'hypergeometric', 'inverse_gamma', 'lognormal',
7474
'weibull']
7575

0 commit comments

Comments
 (0)