Skip to content

Commit 02c5397

Browse files
committed
Test simplification of x^0
1 parent bc61fc2 commit 02c5397

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/simplify.jl

+1
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ d1 = Differential(x)((x-2)^2)
2727
d2 = Differential(x)(d1)
2828
d3 = Differential(x)(d2)
2929
@test simplified_expr(expand_derivatives(d3)) == :(0)
30+
@test simplified_expr(simplify_constants(x^0)) == :(1)

0 commit comments

Comments
 (0)