Skip to content

Commit 5e1bc75

Browse files
authored
Merge pull request #3368 from dynikon/fix-docs
Fix typos in HalfNormal and Wald
2 parents f375f27 + 1cc8583 commit 5e1bc75

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pymc3/distributions/continuous.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -697,8 +697,8 @@ class HalfNormal(PositiveContinuous):
697697
\sqrt{\frac{2\tau}{\pi}}
698698
\exp\left(\frac{-x^2 \tau}{2}\right)
699699
700-
f(x \mid \sigma) =\sigma
701-
\sqrt{\frac{2}{\pi}}
700+
f(x \mid \sigma) =
701+
\sqrt{\frac{2}{\pi\sigma^2}}
702702
\exp\left(\frac{-x^2}{2\sigma^2}\right)
703703
704704
.. note::
@@ -833,7 +833,7 @@ class Wald(PositiveContinuous):
833833
.. math::
834834
835835
f(x \mid \mu, \lambda) =
836-
\left(\frac{\lambda}{2\pi)}\right)^{1/2} x^{-3/2}
836+
\left(\frac{\lambda}{2\pi}\right)^{1/2} x^{-3/2}
837837
\exp\left\{
838838
-\frac{\lambda}{2x}\left(\frac{x-\mu}{\mu}\right)^2
839839
\right\}

0 commit comments

Comments
 (0)