Because complex numbers print with either a + or - operator, the expression printing can have expressions $x c$, for $c$ a constant, which actually gets printed like $x 1.0 - 2.0im$, which looks like $x * c - b$ for two constants.
This PR implements a fix - any number which is neither a real number nor a vector will be printed inside an additional parentheses.
Because complex numbers print with either a
+
or-
operator, the expression printing can have expressions $x c$, for $c$ a constant, which actually gets printed like $x 1.0 - 2.0im$, which looks like $x * c - b$ for two constants.This PR implements a fix - any number which is neither a real number nor a vector will be printed inside an additional parentheses.