Skip to content

Commit 7089c98

Browse files
committed
fix typo in literal_pow overload
1 parent 61f528a commit 7089c98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/methods.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ function Base.inv(x::Symbolic)
139139
end
140140
function Base.literal_pow(::typeof(^), x::Symbolic, ::Val{p}) where {p}
141141
T = symtype(x)
142-
T <: Number ? Base.:^(x, p) : error_f_symbolic(rem2pi, T)
142+
T <: Number ? Base.:^(x, p) : error_f_symbolic(^, T)
143143
end
144144
function promote_symtype(::typeof(Base.literal_pow), _, ::Type{T}, ::Type{Val{S}}) where{T<:Number,S}
145145
return promote_symtype(^, T, typeof(S))

0 commit comments

Comments
 (0)