We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3570cc6 commit aa0f5cfCopy full SHA for aa0f5cf
test/simplify.jl
@@ -31,8 +31,8 @@ d3 = Differential(x)(d2)
31
@test toexpr(expand_derivatives(d3)) == :(0)
32
@test toexpr(simplify(x^0)) == :(1)
33
34
-@test ModelingToolkit.substitute(2x + y == 1, Dict(x => 0.0, y => 0.0)) === false
35
-@test ModelingToolkit.substitute(2x + y == 1, Dict(x => 0.0, y => 1.0)) === true
+@test ModelingToolkit.substitute(value(2x + y == 1), Dict(x => 0.0, y => 0.0)) === false
+@test ModelingToolkit.substitute(value(2x + y == 1), Dict(x => 0.0, y => 1.0)) === true
36
37
# 699
38
using SymbolicUtils: substitute
0 commit comments