We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 394c083 commit 8293481Copy full SHA for 8293481
src/types.jl
@@ -729,7 +729,7 @@ operation(a::Mul) = *
729
730
function arguments(a::Mul)
731
a.sorted_args_cache[] !== nothing && return a.sorted_args_cache[]
732
- args = sort!([k^v for (k,v) in a.dict], lt=<ₑ)
+ args = sort!([Pow(k, v) for (k,v) in a.dict], lt=<ₑ)
733
a.sorted_args_cache[] = isone(a.coeff) ? args : vcat(a.coeff, args)
734
end
735
0 commit comments