Skip to content

Commit 11748ba

Browse files
authored
Fix docstring of erfc (#346)
1 parent 5e59709 commit 11748ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/erf.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Compute the complementary error function of ``x``, defined by
8888
```math
8989
\operatorname{erfc}(x)
9090
= 1 - \operatorname{erf}(x)
91-
= \frac{2}{\pi} \int_x^\infty \exp(-t^2) \; \mathrm{d}t
91+
= \frac{2}{\sqrt{\pi}} \int_x^\infty \exp(-t^2) \; \mathrm{d}t
9292
\quad \text{for} \quad x \in \mathbb{C} \, .
9393
```
9494

0 commit comments

Comments
 (0)