Skip to content

Commit cd77970

Browse files
committed
Renamed Pow function for clarity
1 parent 13b642b commit cd77970

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.jl

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

510510
@inline denominators(x) = isdiv(x) ? numerators(x.den) : Any[1]
511511

512-
function (::Type{<:Pow{T}})(a, b; metadata=NO_METADATA) where {T}
512+
function Pow{T}(a, b; metadata=NO_METADATA) where {T}
513513
_iszero(b) && return 1
514514
_isone(b) && return a
515515
Pow{T}(; base=a, exp=b, arguments=[], metadata)

0 commit comments

Comments
 (0)