Skip to content

DOC: unnamed TimeVaryingFunction in tutorial #253

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
gdmcbain opened this issue Jan 25, 2024 · 0 comments
Open

DOC: unnamed TimeVaryingFunction in tutorial #253

gdmcbain opened this issue Jan 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@gdmcbain
Copy link

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 name not assigned

If it's @named:

    @named src = TimeVaryingFunction(f)

all's well.

@gdmcbain gdmcbain added the bug Something isn't working label Jan 25, 2024
gdmcbain added a commit to gdmcbain/ModelingToolkitStandardLibrary.jl that referenced this issue Jan 25, 2024
gdmcbain added a commit to gdmcbain/ModelingToolkitStandardLibrary.jl that referenced this issue Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant