You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So osys = ODESystem(eqs, iv; name = hash(eqs)) , make_rs_expr(:($(hash(expr))), expr) would make it so you have the same equation every time, which means if you make a reaction system with the same equations (and same names of variables) then you'd get exactly the same function and be able to reuse the precompiled cache.
It might only work with precompilation with v1.11 because of JuliaLang/julia#52119, I'm not sure about some of the edges here, but at least it is something the compiler relies on.
Catalyst.jl/src/reactionsystem.jl
Line 548 in 5460da1
Catalyst.jl/src/dsl.jl
Line 110 in 5460da1
These should just be hashes instead.
The text was updated successfully, but these errors were encountered: