Skip to content

Commit d1a2350

Browse files
committed
[ci skip] Fix spelling errors\n\n- Intepolate -> Interpolate\n- Similarily -> Similarly\n- Caculated -> Calculated\n- occurance -> occurrence
1 parent ed5bff7 commit d1a2350

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

docs/src/tutorials/lower_level_api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ probs = cu(probs)
5757
Note that the core is the function `DiffEqGPU.vectorized_solve` which is the solver for the CUDA-based `probs`
5858
which uses the manually converted problems, and returns `us` which is a vector of CuArrays for the solution.
5959

60-
Similarily, there exists a lower-level API for `EnsembleGPUArray` as well, primarily for benchmarking purposes. The solution
60+
Similarly, there exists a lower-level API for `EnsembleGPUArray` as well, primarily for benchmarking purposes. The solution
6161
returned for state (`sol.u`) is a matrix having columns as different parameter-parallel solutions for the ensemble problem.
6262
An example is shown below:
6363

docs/src/tutorials/weak_order_conv_sde.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ using Plots
3737
plot(ts, us_expect, lw = 5,
3838
xaxis = "Time (t)", yaxis = "y(t)", label = "True Expected value")
3939
40-
plot!(ts, us_calc, lw = 3, ls = :dash, label = "Caculated Expected value")
40+
plot!(ts, us_calc, lw = 3, ls = :dash, label = "Calculated Expected value")
4141
```

src/ensemblegpukernel/integrators/integrator_utils.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ end
278278
callback::DiffEqGPU.GPUContinuousCallback,
279279
counter) where {AlgType <: GPUODEAlgorithm,
280280
IIP, S, T}
281-
event_occurred, interp_index, prev_sign, prev_sign_index, event_idx = DiffEqBase.determine_event_occurance(
281+
event_occurred, interp_index, prev_sign, prev_sign_index, event_idx = DiffEqBase.determine_event_occurrence(
282282
integrator,
283283
callback,
284284
counter)
@@ -360,7 +360,7 @@ end
360360
end
361361

362362
# interp_points = 0 or equivalently nothing
363-
@inline function DiffEqBase.determine_event_occurance(
363+
@inline function DiffEqBase.determine_event_occurrence(
364364
integrator::DiffEqBase.AbstractODEIntegrator{
365365
AlgType,
366366
IIP,

src/ensemblegpukernel/kernels.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
!saved_in_cb && savevalues!(integ, ts, us)
4141
end
4242
if integ.t > tspan[2] && saveat === nothing
43-
## Intepolate to tf
43+
## Interpolate to tf
4444
@inbounds us[end] = integ(tspan[2])
4545
@inbounds ts[end] = tspan[2]
4646
end
@@ -99,7 +99,7 @@ end
9999
end
100100

101101
if integ.t > tspan[2] && saveat === nothing
102-
## Intepolate to tf
102+
## Interpolate to tf
103103
@inbounds us[end] = integ(tspan[2])
104104
@inbounds ts[end] = tspan[2]
105105
end

0 commit comments

Comments
 (0)