Comment #5 on issue 2516 by smi...@gmail.com: Bug on collect() http://code.google.com/p/sympy/issues/detail?id=2516
The case of the variables controls the order that terms are processed in. An even simpler failing example is:
>>> e=(D**3*a + b*u**3)/Re >>> collect(e.subs(u,aA).expand(),[aA**3/Re, a]) D**3*a + aA**3*b/Re Note that the Re divisor is missing from the first term. -- 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.