Traceback is quite short:
File "/home/mysite/lib/python2.7/sympy/core/relational.py", line 103, in
__nonzero__
raise TypeError("cannot determine truth value of\n%s" % self)
TypeError: cannot determine truth value of
pi/5 < 0
On Thursday, July 9, 2015 at 10:26:53 PM UTC+3, Aaron Meurer wrote:
>
> Is there a traceback with the error? Is it coming from SymPy code or
> your own code?
>
> Aaron Meurer
>
> On Thu, Jul 9, 2015 at 12:40 AM, Paul Royik <[email protected]
> <javascript:>> wrote:
> > I'm using sympy on my site together with django and mod_wsgi.
> > From time to time (i.e. this error is not reproducible) I've got the
> > following error:
> > TypeError: cannot determine truth value of
> > 3*pi/8 >= 7*pi/8
> >
> > In other words, error is raised when I try to compare numerical values.
> > Can someone explain why is that and how can I avoid it?
> >
> > Thank you.
> >
> > --
> > 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] <javascript:>.
> > To post to this group, send email to [email protected]
> <javascript:>.
> > 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/8997bc44-a5d5-42d8-b818-32bc5c0153b8%40googlegroups.com.
>
>
> > For more options, visit https://groups.google.com/d/optout.
>
--
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/c8fee319-26d3-4b9a-8c9d-58962d915896%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.