Skip to content

Commit 0c2611f

Browse files
authored
Update README.md
1 parent eacd10a commit 0c2611f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ the documentation, which contains the unreleased features.
2828
## Examples
2929

3030
To perform one-dimensional quadrature, we can simply construct an `IntegralProblem`. The code below evaluates $\int_{-2}^5 \sin(xp)~\mathrm{d}x$ with $p = 1.7$. This argument $p$ is passed
31-
into the problem as the fourth argument of `IntegralProblem`.
31+
into the problem as the third argument of `IntegralProblem`.
3232

3333
```julia
3434
using Integrals
@@ -39,7 +39,7 @@ prob = IntegralProblem(f, domain, p)
3939
sol = solve(prob, QuadGKJL())
4040
```
4141

42-
For basic multidimensional quadrature we can construct and solve a `IntegralProblem`. Since we are using no arguments `p` in this example, we omit the fourth argument of `IntegralProblem`
42+
For basic multidimensional quadrature we can construct and solve a `IntegralProblem`. Since we are using no arguments `p` in this example, we omit the third argument of `IntegralProblem`
4343
from above. The lower and upper bounds are now passed as vectors, with the `i`th elements of
4444
the bounds giving the interval of integration for `x[i]`.
4545

0 commit comments

Comments
 (0)