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

Unreachable reached in Julia v1.3/1.4 #758

Open
schillic opened this issue May 10, 2020 · 0 comments
Open

Unreachable reached in Julia v1.3/1.4 #758

schillic opened this issue May 10, 2020 · 0 comments
Labels

Comments

@schillic
Copy link
Member

At least on my system the following test code crashes with a Julia bug (Unreachable reached, signal (4): Illegal instruction).

A_itv = IntervalMatrix([-1.1..0.9 -4.1.. -3.9; 3.9..4.1 -1.1..0.9])
X0 = BallInf(zeros(2), 0.1)
sys_homog = IVP(CLCS(A_itv, Universe(2)), X0)
B = IntervalMatrix([1.0..1.0 0.0..0.0; 0.0..0.0 1.0..1.0])
U = ConstantInput(BallInf(ones(2), 0.5))
sys_heterog = IVP(CLCCS(A_itv, B, Universe(2), U), X0)
algorithm = "interval_matrix"
for cont_sys in [sys_homog, sys_heterog]
# default order
discr_sys = discretize(cont_sys, δ; algorithm=algorithm)

I tried to debug it and apparently there is a problem when we create the result system:

return IVP(CLCDS(ϕ, B, stateset(𝑆.s), Ud), Ω0)

The system itself can be created without problems if you outsorce this line to a new helper function. But for some reason the compiler seems surprised that it can return that result and then crashes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant