Skip to content

Commit 87bc6cd

Browse files
committed
fix test
1 parent d3a6519 commit 87bc6cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/derivatives.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ z = t-2t
8080
# isequal(ModelingToolkit.derivative(Term(*, [x, y, z*ρ]), 1), y*(z*ρ))
8181
# isequal(ModelingToolkit.derivative(Term(+, [x*y, y, z]), 1), 1)
8282

83-
@test iszero(ModelingToolkit.derivative(42, x))
83+
@test iszero(expand_derivatives(D(42)))
8484
@test all(iszero, ModelingToolkit.gradient(42, [t, x, y, z]))
8585
@test all(iszero, ModelingToolkit.hessian(42, [t, x, y, z]))
8686
@test isequal(ModelingToolkit.jacobian([t, x, 42], [t, x]),

0 commit comments

Comments
 (0)