Skip to content

Commit 4da5153

Browse files
committed
name SampledData too #253
1 parent d981e93 commit 4da5153

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
@@ -109,7 +109,7 @@ To resolve the issues presented above, the `ModelingToolkitStandardLibrary.Block
109109

110110
```julia
111111
function System(; name)
112-
src = SampledData(Float64)
112+
@named src = SampledData(Float64)
113113

114114
vars = @variables f(t)=0 x(t)=0 dx(t)=0 ddx(t)=0
115115
pars = @parameters m=10 k=1000 d=1

0 commit comments

Comments
 (0)