Status: New
Owner: ----
Labels: Type-Defect Priority-Medium WrongResult Assumptions
New issue 3692 by [email protected]:
(Symbol("n",integer=True,even=True)/2).is_integer = False !
http://code.google.com/p/sympy/issues/detail?id=3692
even/odd properties for integers looks broken (for "old" assumptions). An
example:
In [2]: n=Symbol("n",integer=True,even=True)
In [3]: S(4).is_even
Out[3]: True
In [4]: (S(4)/2).is_integer
Out[4]: True
In [5]: (n/2).is_integer # Oops!
Out[5]: False
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" 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-issues?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.