Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3164 by smi...@gmail.com: cse fails when a non-Basic is created
http://code.google.com/p/sympy/issues/detail?id=3164

    >>> cse(Eq(x*(-x + 1) + x*(x - 1), 0))
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "sympy\simplify\cse_main.py", line 140, in cse
        for e in expr.as_numer_denom() if not expr.is_Add else [expr]:
    AttributeError: 'bool' object has no attribute 'is_Add'

cse should have returned ([], [True])



--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to