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.
Pow
1 parent 13b642b commit cd77970Copy full SHA for cd77970
src/types.jl
@@ -509,7 +509,7 @@ end
509
510
@inline denominators(x) = isdiv(x) ? numerators(x.den) : Any[1]
511
512
-function (::Type{<:Pow{T}})(a, b; metadata=NO_METADATA) where {T}
+function Pow{T}(a, b; metadata=NO_METADATA) where {T}
513
_iszero(b) && return 1
514
_isone(b) && return a
515
Pow{T}(; base=a, exp=b, arguments=[], metadata)
0 commit comments