Skip to content

Commit 9c36a25

Browse files
committed
Revert "Fix domain error in Mul with literal base and power"
This reverts commit 8293481.
1 parent 2a79e37 commit 9c36a25

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
@@ -777,7 +777,7 @@ operation(a::Mul) = *
777777

778778
function arguments(a::Mul)
779779
a.sorted_args_cache[] !== nothing && return a.sorted_args_cache[]
780-
args = sort!([Pow(k, v) for (k,v) in a.dict], lt=<ₑ)
780+
args = sort!([k^v for (k,v) in a.dict], lt=<ₑ)
781781
a.sorted_args_cache[] = isone(a.coeff) ? args : vcat(a.coeff, args)
782782
end
783783

0 commit comments

Comments
 (0)