ModelingToolkitStandardLibrary.jl
ModelingToolkitStandardLibrary.jl copied to clipboard
DOC: unnamed TimeVaryingFunction in tutorial
Working my way through the tutorial, there was a stumbling in the TimeVaryingFunction component.
Is this right?
https://github.com/SciML/ModelingToolkitStandardLibrary.jl/blob/2029edb9f99ccc0c94ade6de6d6c7378264816e2/docs/src/tutorials/input_component.md?plain=1#L25
It raises (in Julia 1.10.0)
ERROR: LoadError: UndefKeywordError: keyword argument
namenot assigned
If it's @named:
@named src = TimeVaryingFunction(f)
all's well.