Skip to content

Commit a8df431

Browse files
farhanreynaldoricardoV94
authored andcommitted
use different value for sigma and tau
1 parent 158cde1 commit a8df431

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pymc3/tests/test_distributions_random.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -523,8 +523,9 @@ class TestSkewNormal(BaseTestDistribution):
523523

524524
class TestSkewNormalTau(BaseTestDistribution):
525525
pymc_dist = pm.SkewNormal
526-
pymc_dist_params = {"mu": 0.0, "tau": 1.0, "alpha": 5.0}
527-
expected_rv_op_params = {"mu": 0.0, "sigma": 1.0 ** -0.5, "alpha": 5.0}
526+
tau, sigma = get_tau_sigma(tau=2.0)
527+
pymc_dist_params = {"mu": 0.0, "tau": tau, "alpha": 5.0}
528+
expected_rv_op_params = {"mu": 0.0, "sigma": sigma, "alpha": 5.0}
528529
tests_to_run = ["check_pymc_params_match_rv_op"]
529530

530531

0 commit comments

Comments
 (0)