Status: New
Owner: ----
Labels: Type-Defect Priority-Medium WrongResult Logic
New issue 3911 by [email protected]: count_ops() returns 0 for logic
expressions
http://code.google.com/p/sympy/issues/detail?id=3911
import sympy
sympy.sympify("a+b").count_ops()
1
sympy.sympify("a+b+c").count_ops()
2
sympy.sympify("Or(a,b)").count_ops()
0
from sympy.logic.boolalg import Or #not sure when and why it is
required
sympy.sympify("Or(a,b)").count_ops()
0
sympy.sympify("Or(a,Or(b,c))").count_ops()
0
sympy.sympify("a|b").count_ops()
0
--
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.
For more options, visit https://groups.google.com/groups/opt_out.