Better reproduction of this bug:
In [1]: from sympy import *
In [2]: inf = Float('inf')
In [3]: oo < inf
Out[3]: False
In [4]: -oo < -inf
Out[4]: -oo < -inf
In [5]: bool(-oo < -inf)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-5-a2165769cd19> in <module>()
----> 1 bool(-oo < -inf)
/usr/local/lib/python2.7/dist-packages/sympy/core/relational.pyc in
__nonzero__(self)
101
102 def __nonzero__(self):
--> 103 raise TypeError("cannot determine truth value of\n%s" % self
)
104
105 __bool__ = __nonzero__
TypeError: cannot determine truth value of
-oo < -inf
Now I get it on Python 2.7 as well, without that hashseed.
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/83b0a75d-37fd-4ec2-ac88-83d340f8b51c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.