-
-
Notifications
You must be signed in to change notification settings - Fork 69
Closed
Description
To avoid breaking changes in #236, the constructors for DiffEqArray had been modified to work the same way they did before. However, this makes it so that trying to construct a DiffEqArray with a system requires specifying type parameters:
DiffEqArray(u, t, syms, indepsym, observed, p) # works as it did before
DiffEqArray(u, t, sys, observed, p) # interprets sys as syms, observed as indepsym and p and observed
DiffEqArray{..., typeof(sys), typeof(observed), typeof(p)}(u, t, sys, observed, p) # works
Also, to specify paramsyms (without a system)
sc = SymbolCache(syms, indepsym, paramsyms)
DiffEqArray{..., typeof(sc), typeof(observed), typeof(p)}(u, t, sc, observed, p)
In the next breaking change, constructors would need to be updated to make the API smoother
Metadata
Metadata
Assignees
Labels
No labels