Status: Valid
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 3594 by [email protected]: factor should return unhandled
expressions unchanged
http://code.google.com/p/sympy/issues/detail?id=3594
factor(Piecewise((x*(x+2),x<1)))
Piecewise((x**2 + 2*x, x < 1))
If factor is not going to work with Piecewise, it should not modify the
expression. Apparently what happens is that expand is used (successfully)
but nothing more is done so the unexpanded version is returned.
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.