Skip to content
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

Argument name of BlackBoxContinuousSystem in @ivp is ignored #295

Open
schillic opened this issue Mar 10, 2024 · 0 comments
Open

Argument name of BlackBoxContinuousSystem in @ivp is ignored #295

schillic opened this issue Mar 10, 2024 · 0 comments
Labels
fix macros Issues related to DSL syntax

Comments

@schillic
Copy link
Member

I would expect the following to fail:

julia> using MathematicalSystems
julia> f(u) = 1;  # irrelevant, just needs to be defined
julia> U0 = [1];  # irrelevant, just needs to be defined
julia> @ivp(u' = f(xxx), u(0)  U0, dim:1)  # `xxx` should be `u`
InitialValueProblem{BlackBoxContinuousSystem{typeof(f)}, Vector{Int64}}(BlackBoxContinuousSystem{typeof(f)}(f, 1), [1])
@schillic schillic added macros Issues related to DSL syntax fix labels Mar 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix macros Issues related to DSL syntax
Projects
None yet
Development

No branches or pull requests

1 participant