structural_simplify
changes the name of the variables from discretized PDEs in the observed equations ( X[n](t) -> var"X(t)[n]_t" )
#2360
Labels
bug
Something isn't working
Describe the bug 🐞
When
structural_simplify
ing a system, the names of many observed variables (ie. variableX(t)
) becomevar"Xˍt"
in an equation describing an observed state, messing up with everything downstream.Expected behavior
The variable should not change name after applying
structural_simplify
.Minimal Reproducible Example 👇
Unfortunately my code is quite complex, so simplifying it to make a MWE would take me a time I don't have right now, I mostly wanted to report the issue. I will provide one later if time allows.
Environment:
using Pkg; Pkg.status()
using Pkg; Pkg.status(; mode = PKGMODE_MANIFEST)
versioninfo()
Additional context
What I am doing in my code is to symbolically discretize a PDE system with MethodOfLines and then tinkering with the ODESystem that comes out of it then simplyfying and finally solving it with MTK. I believe this problem only happens with the discretized variables (written X(t)[n]).
The text was updated successfully, but these errors were encountered: