In previous Maple releases, the kernel would automatically expand the product of a complex number with rational coefficients by or into , where . As of Maple 2018, this returns a product where are coprime integers. For example, both of the following examples used to return :
The previous behavior can be restored by applying the expand command: