Skip to content

Commit a4e7f0c

Browse files
committed
fix typo in HalfNormal
1 parent f375f27 commit a4e7f0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymc3/distributions/continuous.py

Lines changed: 2 additions & 2 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::

0 commit comments

Comments
 (0)