Skip to content

Commit

Permalink
Fix typo in Pow constructor definition
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenszhu committed Aug 6, 2024
1 parent 4cb4323 commit 4beca44
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 @@ -492,7 +492,7 @@ function _Pow(::Type{T}, base, exp; kwargs...) where {T}
BasicSymbolic{T}(; impl, kwargs...)
end
function _Pow(base, exp; kwargs...)
Pow{promote_symtype(^, symtype(base), symtype(b))}(makepow(base, exp)..., kwargs...)
Pow{promote_symtype(^, symtype(base), symtype(exp))}(makepow(base, exp)..., kwargs...)
end

function toterm(t::BasicSymbolic{T}) where {T}
Expand Down

0 comments on commit 4beca44

Please sign in to comment.