Skip to content

Commit 5dc9883

Browse files
Romain Petitstevengj
authored andcommitted
fix erf doc (#195)
1 parent 3a69592 commit 5dc9883

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/erf.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ end
4747
Compute the error function of ``x``, defined by
4848
4949
```math
50-
\operatorname{erf}(x) = \frac{2}{\pi} \int_0^x \exp(-t^2) \; \mathrm{d}t
50+
\operatorname{erf}(x) = \frac{2}{\sqrt{\pi}} \int_0^x \exp(-t^2) \; \mathrm{d}t
5151
\quad \text{for} \quad x \in \mathbb{C} \, .
5252
```
5353

0 commit comments

Comments
 (0)