Hi.

I bisected this to this commit:

commit b361ecdaa156e4531d36f853535c23c516d281b2
Author: Chris Smith <smi...@gmail.com>
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 <matthew.br...@gmail.com> 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 sympy@googlegroups.com.
> To unsubscribe from this group, send email to 
> sympy+unsubscr...@googlegroups.com.
> 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 sympy@googlegroups.com.
To unsubscribe from this group, send email to 
sympy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to