Skip to content

Commit 8a0e274

Browse files
committed
chore: fix typos
1 parent e07fe31 commit 8a0e274

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/src/tutorials/dc_motor_pi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ so that it can be represented as a system of `ODEs` (ordinary differential equat
7777

7878
```@example dc_motor_pi
7979
sys = structural_simplify(model)
80-
prob = ODEProblem(sys, [sys.L1.i => 0.0,], (0, 6.0))
80+
prob = ODEProblem(sys, [sys.L1.i => 0.0], (0, 6.0))
8181
sol = solve(prob)
8282
8383
p1 = plot(sol.t, sol[sys.inertia.w], ylabel = "Angular Vel. in rad/s",

docs/src/tutorials/input_component.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This tutorial demonstrate each case and explain the pros and cons of each.
1212
## `Interpolation` Block
1313

1414
The `ModelingToolkitStandardLibrary.Blocks.Interpolation` component is easy to use and is performant.
15-
It is simlar to using callable paramterers, but it provides a block interface with `RealInput` and `RealOutput` connectors.
15+
It is similar to using callable parameters, but it provides a block interface with `RealInput` and `RealOutput` connectors.
1616
The `Interpolation` is compatible with interpolation types from `DataInterpolation`.
1717

1818
```@docs
@@ -150,7 +150,7 @@ plot(sol2)
150150
```
151151

152152
!!! note
153-
Note that when changing the data, the length of the new data must be the same as the lenght of the original data.
153+
Note that when changing the data, the length of the new data must be the same as the length of the original data.
154154

155155
## Custom Component with External Data
156156

test/Blocks/sources.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ end
554554
end
555555

556556
@testset "BSplineInterpolation" begin
557-
@named i = ParametrizedInterpolationBlock(
557+
@named i = ParametrizedInterpolation(
558558
BSplineInterpolation, u, x, 3, :Uniform, :Uniform)
559559
eqs = [i.input.u ~ t, D(y) ~ i.output.u]
560560

0 commit comments

Comments
 (0)