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.
2 parents ad2f5db + 29c7edf commit 44d1633Copy full SHA for 44d1633
src/ordering.jl
@@ -89,7 +89,7 @@ end
89
90
function _get_degrees(::typeof(^), expr, degs_cache)
91
base_expr, pow_expr = arguments(expr)
92
- if pow_expr isa Number
+ if pow_expr isa Real
93
@inbounds degs = map(_get_degrees(base_expr, degs_cache)) do (base, pow)
94
(base => pow * pow_expr)
95
end
0 commit comments