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
using Catalyst
using JumpProcesses
rn =@reaction_networkbegin
k, X --> ∅
end@unpack k = rn # NB: if I use rn.k directly below, I get a different error even in construction which I don't understand, but that's probably a separate issue.
op =ODEProblem(rn, [1.0], (0.0, 1.0), [k =>1.0])
remake(op; p = [k =>3.0]) # works fine
dp =DiscreteProblem(rn, [1.0], (0.0, 1.0), [k =>1.0])
jp =JumpProblem(rn, dp, Direct())
remake(jp; p = [k =>3.0]) # error
This is from some bugs introduced when SciMLBase switched the symbolic indexing backend. You can see what @TorkelE reported there at SciML/SciMLBase.jl#581
They should hopefully get fixed soon in SciMLbase and this should work again, but in the meantime I’d suggest manually adding and downgrading SciMLBase.
MWE:
Version info:
Error:
The text was updated successfully, but these errors were encountered: