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 d3a6519 commit 87bc6cdCopy full SHA for 87bc6cd
test/derivatives.jl
@@ -80,7 +80,7 @@ z = t-2t
80
# isequal(ModelingToolkit.derivative(Term(*, [x, y, z*ρ]), 1), y*(z*ρ))
81
# isequal(ModelingToolkit.derivative(Term(+, [x*y, y, z]), 1), 1)
82
83
-@test iszero(ModelingToolkit.derivative(42, x))
+@test iszero(expand_derivatives(D(42)))
84
@test all(iszero, ModelingToolkit.gradient(42, [t, x, y, z]))
85
@test all(iszero, ModelingToolkit.hessian(42, [t, x, y, z]))
86
@test isequal(ModelingToolkit.jacobian([t, x, 42], [t, x]),
0 commit comments