l is a variable which is not assigned to any value
In [90]: from sympy.abc import l,u
In [91]: (l<=0).subs({l:oo})
Out[91]: True
In [92]: (l<=0).xreplace({l:oo})
Out[92]: True
My sympy is the latest "stable" one (how do I check the exact version
number anyway?) but not the development version. Perhaps this bug has been
fixed in the development branch ?
On Wednesday, April 3, 2013 11:44:13 PM UTC-6, smichr wrote:
>
> Make sure sympy is up to date. I get (with the development version):
>
> >>> (l<=0)
> l <= 0
> >>> _.subs(l,oo)
> False
> >>> (l<=0).subs({l:oo})
> False
>
> If it is current, check your value of `l` -- maybe it is -1 or something.
> There are some IOs that are missing and I'm not sure what may have happened
> in them.
>
--
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?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.