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

New issue 2139 by smichr: _new_rawargs needs to watch for Atoms
http://code.google.com/p/sympy/issues/detail?id=2139

from the commit message:

    _new_rawargs is the function that should be used to rebuild the
    unmodified terms that are taken apart with methods like
    as_coeff_terms or as_coeff_factors. A problem that can arise with
    this is that if there is only one argument then the result will
    appear like a Mul or Add even though it is an Atom. This makes
    problems with simplification of expressions, e.g.

    x - Add._new_rawargs(*[x]) != 0

    This commit fixes that issue and is contained in a tba pull request.

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-iss...@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