Hi. I bisected this to this commit:
commit b361ecdaa156e4531d36f853535c23c516d281b2 Author: Chris Smith <[email protected]> Date: Sun May 1 18:56:37 2011 +0545 don't special-case 1.0 in flatten Real(1.0) was being changed to S.One by flatten. This was removed since no other Real was being treated that way, e.g. -1.0 is retained. A couple of test were changed. Aaron Meurer On Sat, Jul 23, 2011 at 11:13 AM, Matthew Brett <[email protected]> wrote: > Hi, > > I noticed this: > > Sympy 0.6.7: >>>> 1.0 * Symbol('x') > x > > Sympy 0.7.0 >>>> 1.0 * Symbol('x') > 1.0*x > > although (0.7.0 again): > >>>> 1 == Float(1.0) > True >>>> 1 * Symbol('x') > x > > I assume that's intended, it is obvious why? > > Thanks a lot, > > Matthew > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/sympy?hl=en. > > -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
