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

Vector form of affine system #224

Open
mforets opened this issue Dec 8, 2020 · 0 comments
Open

Vector form of affine system #224

mforets opened this issue Dec 8, 2020 · 0 comments
Labels
macros Issues related to DSL syntax

Comments

@mforets
Copy link
Member

mforets commented Dec 8, 2020

This is a follow up of #223

julia> b = rand(1); @system(x' = x + b)
AffineContinuousSystem{Float64,IdentityMultiple{Float64},Array{Float64,1}}([1.0], [0.4376218479701559])

julia> b = rand(10); @system(x' = x + b, dim=10)
ERROR: AssertionError: checksquare(A) == length(c)
Stacktrace:
 [1] AffineContinuousSystem(::IdentityMultiple{Float64}, ::Array{Float64,1}) at /home/mforets/.julia/dev/MathematicalSystems/src/systems.jl:189
 [2] top-level scope at REPL[4]:1

julia> b = rand(10); @system(x' = x + b)
ERROR: AssertionError: checksquare(A) == length(c)
Stacktrace:
 [1] AffineContinuousSystem(::IdentityMultiple{Float64}, ::Array{Float64,1}) at /home/mforets/.julia/dev/MathematicalSystems/src/systems.jl:189
 [2] top-level scope at REPL[5]:1
@mforets mforets added the macros Issues related to DSL syntax label Dec 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
macros Issues related to DSL syntax
Projects
None yet
Development

No branches or pull requests

1 participant