SciML / SciML/ModelingToolkitStandardLibrary.jl
DOC: unnamed TimeVaryingFunction in tutorial
Open
Beginner friendly
Nobody has claimed this yet.
bug
- Dominant language
- Julia
- Stars
- 171
- Forks
- 49
- Avg merge
- 15h 50m
- Merged PRs (30d)
- 10
Description
Working my way through the tutorial, there was a stumbling in the TimeVaryingFunction component.
Is this right?
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open docs/src/tutorials/input_component.md around line 25 and reproduce the tutorial with Julia 1.10.0. Check the TimeVaryingFunction example and its named-component usage; done means the documented example runs without the UndefKeywordError and remains consistent with the tutorial.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100