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 SymbolicUtils
using SymbolicUtils: Term
@syms a b f t
f =Term(f, (t,)) # create term f(t)
f =setmetadata(f, Bool, true)
hasmetadata(f, Bool) # true
newf =substitute(f, Dict(a=>b)) # unrelated substitutionhasmetadata(newf, Bool) # false
Oh I see... I think we should use similarterm in substitute and it should carry forward metadata of the "reference" term... via a kwarg so that it can be overloaded. cc @YingboMa
I think this is a M(not)WE for
SymbolicUtils
. The problem came up after recent changes to MTK SciML/ModelingToolkit.jl/pull/943The text was updated successfully, but these errors were encountered: