Skip to content

Commit 44d1633

Browse files
Merge pull request #762 from AayushSabharwal/as/fix-ci
fix: fix ordering test with complex exponent
2 parents ad2f5db + 29c7edf commit 44d1633

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ordering.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ end
8989

9090
function _get_degrees(::typeof(^), expr, degs_cache)
9191
base_expr, pow_expr = arguments(expr)
92-
if pow_expr isa Number
92+
if pow_expr isa Real
9393
@inbounds degs = map(_get_degrees(base_expr, degs_cache)) do (base, pow)
9494
(base => pow * pow_expr)
9595
end

0 commit comments

Comments
 (0)