Skip to content

Commit a2f6426

Browse files
committed
docs: fix overdetermined system in Interpolation tutorial
1 parent 6d18423 commit a2f6426

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/tutorials/input_component.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ using Plots
3535
3636
function MassSpringDamper(; name)
3737
@named input = RealInput()
38-
@variables f(t)=0 x(t)=0 dx(t)=0 ddx(t)=0
38+
@variables f(t) x(t)=0 dx(t)=0 ddx(t)
3939
@parameters m=10 k=1000 d=1
4040
4141
eqs = [f ~ input.u
@@ -145,7 +145,7 @@ plot(sol2)
145145
```
146146

147147
!!! note
148-
148+
149149
Note that when changing the data, the length of the new data must be the same as the length of the original data.
150150

151151
## Custom Component with External Data

0 commit comments

Comments
 (0)