Hey everyone!

I've found another bug related to my upgrading to .7.1.

Max(a, 1)*Max(a,2) raises a strange error. Has anyone encountered
this? I did a search in the group and the issues but it doesn't look
to be noticed.

In [34]: a=sympy.Symbol('a')

In [39]: sympy.Max(a, 1)*sympy.Max(a, 2)

...

TypeError: cannot compare sets using cmp()



In [40]: sympy.Max(a, 1)*sympy.Max(a, 1)
Out[40]: Max(1, a)**2

appears to work however.

For the time being can anyone think of a work around?

Thanks,
Rob

-- 
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.

Reply via email to