Skip to content

Commit 292eaa4

Browse files
Merge pull request #163 from goggle/typos01
Correct some typos
2 parents cccb273 + 6ca4e5a commit 292eaa4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/algorithms.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ QuadGKJL(; order = 7, norm = norm) = QuadGKJL(order, norm)
2929
3030
Multidimensional "h-adaptive" integration from HCubature.jl.
3131
This method also takes the optional arguments `initdiv` and `norm`.
32-
Which are the intial number of segments
32+
Which are the initial number of segments
3333
each dimension of the integration domain is divided into,
3434
and the norm for calculating the error, respectively.
3535
@@ -58,7 +58,7 @@ HCubatureJL(; initdiv = 1, norm = norm) = HCubatureJL(initdiv, norm)
5858
Multidimensional adaptive Monte Carlo integration from MonteCarloIntegration.jl.
5959
Importance sampling is used to reduce variance.
6060
This method also takes three optional arguments `nbins`, `ncalls` and `debug`
61-
which are the intial number of bins
61+
which are the initial number of bins
6262
each dimension of the integration domain is divided into,
6363
the number of function calls per iteration of the algorithm,
6464
and whether debug info should be printed, respectively.

src/common.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function SciMLBase.solve(::IntegralProblem; kwargs...)
3434
checkkwargs(kwargs...)
3535
throw(ArgumentError("""
3636
No integration algorithm `alg` was supplied as the second positional argument.
37-
Reccomended integration algorithms are:
37+
Recommended integration algorithms are:
3838
For scalar functions: QuadGKJL()
3939
For ≤ 8 dimensional vector functions: HCubatureJL()
4040
For > 8 dimensional vector functions: MonteCarloIntegration.vegas(f, st, en, kwargs...)

0 commit comments

Comments
 (0)