Skip to content

Commit 4de943f

Browse files
committed
try to fix docs
1 parent 6968bbc commit 4de943f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/tutorials/input_component.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ To resolve the issues presented above, the `ModelingToolkitStandardLibrary.Block
212212

213213
```@example sampled_data_component
214214
function System(; name)
215-
@named src = SampledData(Float64)
215+
src = SampledData(Float64, name=:src)
216216
217217
vars = @variables f(t)=0 x(t)=0 dx(t)=0 ddx(t)=0
218218
pars = @parameters m=10 k=1000 d=1

0 commit comments

Comments
 (0)