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 2a79e37 commit 9c36a25Copy full SHA for 9c36a25
src/types.jl
@@ -777,7 +777,7 @@ operation(a::Mul) = *
777
778
function arguments(a::Mul)
779
a.sorted_args_cache[] !== nothing && return a.sorted_args_cache[]
780
- args = sort!([Pow(k, v) for (k,v) in a.dict], lt=<ₑ)
+ args = sort!([k^v for (k,v) in a.dict], lt=<ₑ)
781
a.sorted_args_cache[] = isone(a.coeff) ? args : vcat(a.coeff, args)
782
end
783
0 commit comments