Skip to content

Commit 0434777

Browse files
committed
Merge branch 'rename-pow-function' into hash-consing2
2 parents 3dc1169 + cd77970 commit 0434777

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
@@ -519,7 +519,7 @@ end
519519

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

522-
function (::Type{<:Pow{T}})(a, b; metadata=NO_METADATA) where {T}
522+
function Pow{T}(a, b; metadata=NO_METADATA) where {T}
523523
_iszero(b) && return 1
524524
_isone(b) && return a
525525
Pow{T}(; base=a, exp=b, arguments=[], metadata)

0 commit comments

Comments
 (0)