JuliaSymbolics / SymbolicUtils.jl

Symbolic expressions, rewriting and simplification
https://docs.sciml.ai/SymbolicUtils/stable/
Other
527 stars 100 forks source link

Split into substitute and evaluate #430

Open jtrakk opened 2 years ago

jtrakk commented 2 years ago

Replaces substitute(e,d,fold=true) with evaluate(e,d), and replaces substitute(e,d,fold=false) with substitute(e,d). This changes the no-kwarg default behavior of substitute(e,d) from fold=true to fold=false, which is more consistent with the name. See discussion in https://github.com/JuliaSymbolics/Symbolics.jl/issues/328.

I wasn't able to test locally so I'll wait to see what CI says.

(SymbolicUtils) pkg> test
┌ Warning: The active manifest file is an older format with no julia version entry. Dependencies may have been resolved with a different julia version.
└ @ ~/src/SymbolicUtils.jl/Manifest.toml:0
ERROR: `TermInterface` is a direct dependency, but does not appear in the manifest. If you intend `TermInterface` to be a direct dependency, run `Pkg.resolve()` to populate the manifest. Otherwise, remove `TermInterface` with `Pkg.rm("TermInterface")`. Finally, run `Pkg.instantiate()` again.

(SymbolicUtils) pkg> resolve
ERROR: empty intersection between ChainRulesCore@0.10.13 and project compatibility 1