Skip to content

Commit

Permalink
Renamed Pow function for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
Blablablanca committed Nov 14, 2024
1 parent 13b642b commit cd77970
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ end

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

function (::Type{<:Pow{T}})(a, b; metadata=NO_METADATA) where {T}
function Pow{T}(a, b; metadata=NO_METADATA) where {T}
_iszero(b) && return 1
_isone(b) && return a
Pow{T}(; base=a, exp=b, arguments=[], metadata)
Expand Down

0 comments on commit cd77970

Please sign in to comment.