[sage-devel] Re: solve and conjugate bug

2017-11-28 Thread Emmanuel Charpentier
Hmmm... sage: assumptions() [] sage: (z-4*conjugate(z)).simplify() -3*z sage: assume(z,"complex") sage: (z-4*conjugate(z)).simplify() z - 4*conjugate(z) Explicitly telling "var(z,"complex") has the same effect... This seems directly inherited from Maxima : (%i29) ratsimp(z-4*conjugate(z));

[sage-devel] Re: solve and conjugate bug

2017-11-28 Thread Eric Gourgoulhon
This is probably related to the following: sage: var('z') z sage: (z - 4*z.conjugate()).simplify() -3*z which is a bug, given that the documentation of var says: By default, var returns a complex variable Eric. -- You received this message because you are subscribed to the Google Groups