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.
2 parents 7439956 + 8293481 commit e8ef3d4Copy full SHA for e8ef3d4
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