-
-
Notifications
You must be signed in to change notification settings - Fork 79
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
Try to enable SI on 1.11 #1169
base: master
Are you sure you want to change the base?
Try to enable SI on 1.11 #1169
Conversation
@TorkelE seems SI extension is still hanging on 1.11.2 so I'm going to close this. Seems we can't yet add it back on any Julia version. |
that's annoying, but not much to do about |
@@ -49,7 +49,7 @@ let | |||
ps = rnd_ps(custom_function_network_1, rng; factor) | |||
t = rand(rng) | |||
@test f_eval(custom_function_network_1, u0, ps, t) ≈ f_eval(custom_function_network_2, u0, ps, t) | |||
@test jac_eval(custom_function_network_1, u0, ps, t) ≈ jac_eval(custom_function_network_2, u0, ps, t) | |||
@test_broken jac_eval(custom_function_network_1, u0, ps, t) ≈ jac_eval(custom_function_network_2, u0, ps, t) # Weird error dur to some SciML update. Reported in https://github.com/SciML/ModelingToolkit.jl/issues/3447. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is actually done in #1192 (but this PR is based off that one).
@@ -113,7 +113,7 @@ function SI.assess_identifiability(rs::ReactionSystem, args...; | |||
funcs_to_check = make_ftc(funcs_to_check, conseqs, vars) | |||
|
|||
# Computes identifiability and converts it to a easy to read form. | |||
out = SI.assess_identifiability(osys, args...; measured_quantities, | |||
out = SI.assess_identifiability(osys::ODESystem, args...; measured_quantities, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the bit that solves it. What actually goes on is a royal mystery, but there is some discussion here: https://discourse.julialang.org/t/how-to-debug-an-error-in-type-inference/126122/8 and here: SciML/StructuralIdentifiability.jl#360
Builds on the change in #1192, however, otherwise this is now ready. |
No description provided.