Skip to content

Commit 33c7bdf

Browse files
author
musvaage
committed
typos
1 parent 696a955 commit 33c7bdf

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

docs/src/basics/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ may be deceiving. For example, `u' = -sqrt(u)` with `u(0)=1` cannot hit zero
5454
because its derivative shrinks to zero, right? Wrong! [It will hit zero in a finite
5555
time, after which the solution is undefined and does not have a purely real solution](https://www.wolframalpha.com/input/?i=u%27%3D-sqrt%28u%29).
5656
`u' = u^2 - 100u` will “usually” go to zero, but if `u(0)>10` then it will go to
57-
infinity. Plot out your diverging solution and see whether the asymtopics are
57+
infinity. Plot out your diverging solution and see whether the asymptotics are
5858
correct: if `u[i]` gets big, do your equations make `u'[i]` positive and growing?
5959
That would be a problem!
6060

docs/src/examples/beeler_reuter.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ mutable struct BeelerReuterCpu
5959
C::Array{Float32, 2} # intracellular calcium concentration
6060
M::Array{Float32, 2} # sodium current activation gate (m)
6161
H::Array{Float32, 2} # sodium current inactivation gate (h)
62-
J::Array{Float32, 2} # sodium current slow inactivaiton gate (j)
63-
D::Array{Float32, 2} # calcium current activaiton gate (d)
62+
J::Array{Float32, 2} # sodium current slow inactivation gate (j)
63+
D::Array{Float32, 2} # calcium current activation gate (d)
6464
F::Array{Float32, 2} # calcium current inactivation gate (f)
6565
XI::Array{Float32, 2} # inward-rectifying potassium current (iK1)
6666

@@ -411,8 +411,8 @@ mutable struct BeelerReuterGpu <: Function
411411
d_C::CuArray{Float32, 2} # intracellular calcium concentration
412412
d_M::CuArray{Float32, 2} # sodium current activation gate (m)
413413
d_H::CuArray{Float32, 2} # sodium current inactivation gate (h)
414-
d_J::CuArray{Float32, 2} # sodium current slow inactivaiton gate (j)
415-
d_D::CuArray{Float32, 2} # calcium current activaiton gate (d)
414+
d_J::CuArray{Float32, 2} # sodium current slow inactivation gate (j)
415+
d_D::CuArray{Float32, 2} # calcium current activation gate (d)
416416
d_F::CuArray{Float32, 2} # calcium current inactivation gate (f)
417417
d_XI::CuArray{Float32, 2} # inward-rectifying potassium current (iK1)
418418

docs/src/examples/diffusion_implicit_heat_equation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ For the interior domain, a central and second-order finite difference stencil is
9595
∇² = \left[\frac{1}{Δz²}, \frac{-2}{Δz²}, \frac{1}{Δz²}\right] \\
9696
```
9797

98-
At the boundaries, we need to modify the stencil to account for Dirichlet and Neumann BCs. Using the following index denotion:
98+
At the boundaries, we need to modify the stencil to account for Dirichlet and Neumann BCs. Using the following index denotation:
9999

100100
- `i` first interior index
101101
- `b` boundary index

docs/src/examples/kepler_problem.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ sol_ = solve(prob2, RK4(), dt = 1 // 5, adaptive = false)
116116
analysis_plot2(sol_, H, L)
117117
```
118118

119-
There is a significant fluctuation in the first integrals, when there is no mainfold projection.
119+
There is a significant fluctuation in the first integrals, when there is no manifold projection.
120120

121121
```@example kepler
122122
function first_integrals_manifold(residual, u, p, t)

docs/src/features/callback_functions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,9 +287,9 @@ Lastly, we can wrap it in a nice little constructor:
287287
```@example callback3
288288
function AutoAbstol(save = true; init_curmax = 1e-6)
289289
affect! = AutoAbstolAffect(init_curmax)
290-
condtion = (u, t, integrator) -> true
290+
condition = (u, t, integrator) -> true
291291
save_positions = (save, false)
292-
DiscreteCallback(condtion, affect!, save_positions = save_positions)
292+
DiscreteCallback(condition, affect!, save_positions = save_positions)
293293
end
294294
```
295295

0 commit comments

Comments
 (0)