It looks like your (Chris) commit 3e835b50 added some stuff in flatten for both mul and add which causes this behavior.
Outcommenting this "fixes" the flattening. Johan On Thursday, February 21, 2013 8:25:02 PM UTC+1, Johan Hake wrote: > > > Just dig through Mul.flatten and figure out where it is happening. The > code > > is a little complicated, but it is well commented. > > He, he I have seen smaller methods ;) Will see what I can find. > > > Line 512 of core/mul.py, right after "# we are done". > > I have already tried outcommenting the following lines, as that was what > was suggested in a sympy branch trying to address this issue. However, that > did not do the trick. > > Johan > -- You received this message because you are subscribed to the Google Groups "sympy" 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
