Skip to content

Commit ed369b7

Browse files
fix: fix printing of polynomials
1 parent 4d07275 commit ed369b7

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
@@ -1002,7 +1002,7 @@ end
10021002
function remove_minus(t)
10031003
!iscall(t) && return -t
10041004
@assert operation(t) == (*)
1005-
args = arguments(t)
1005+
args = sorted_arguments(t)
10061006
@assert args[1] < 0
10071007
Any[-args[1], args[2:end]...]
10081008
end

0 commit comments

Comments
 (0)