Skip to content

Commit dda4031

Browse files
fix typos
1 parent c617e57 commit dda4031

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: NEWS.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
the `parameter_dependencies` keyword argument of `ODESystem`, `SDESystem` and `JumpSystem`. The dependent
5151
parameters are updated whenever other parameters are modified, e.g. in callbacks.
5252
- Support for `IfElse.jl` has been dropped. `Base.ifelse` can be used instead.
53-
- DAE initailization and the solving for consistent initial conditions has been changed to use a customized
53+
- DAE initialization and the solving for consistent initial conditions has been changed to use a customized
5454
initialization solve. This change adds `guess` semantics which are clearly delinated from the behavior of
5555
the defaults, where `default` (and `u0`) is designed to be always satisfied and error if unsatisfiable,
5656
while `guess` is an initial guess to the initializer. In previous iterations, initialization with the

Diff for: docs/src/tutorials/initialization.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
While for simple numerical ODEs choosing an initial condition can be an easy
44
affair, with ModelingToolkit's more general differential-algebraic equation
5-
(DAE) system there is more care needed due to the flexability of the solver
5+
(DAE) system there is more care needed due to the flexibility of the solver
66
state. In this tutorial we will walk through the functionality involved in
7-
initialization of ODESystem and the diagonstics to better understand and
7+
initialization of ODESystem and the diagnostics to better understand and
88
debug the initialization problem.
99

1010
## Primer on Initialization of Differential-Algebraic Equations
@@ -256,7 +256,7 @@ iprob = ModelingToolkit.InitializationProblem(pend, 0.0,
256256
[x => 1, y => 0.0, D(y) => 2.0, λ => 1], [g => 1], guesses = [λ => 1])
257257
```
258258

259-
We can see that because the system is overdetermined we recieve a NonlinearLeastSquaresProblem,
259+
We can see that because the system is overdetermined we receive a NonlinearLeastSquaresProblem,
260260
solvable by [NonlinearSolve.jl](https://docs.sciml.ai/NonlinearSolve/stable/). Using NonlinearSolve
261261
we can recreate the initialization solve directly:
262262

0 commit comments

Comments
 (0)