> Yes to both. I wrote up my notes when trying to understand what was > going on here in Issue 1601: > > http://code.google.com/p/sympy/issues/detail?id=1601 > > Chris,
I just went through the above link. In any case, I think what you described is a "deterministic" algorithm, right? What I feel confused is that it gives "random" results in different runs. (on the same machine) Would you explain why that's the case? Now, in the example I gave, p = 1 in one case, and p = -exp(-40*x0 + 40*x1)*exp(-40*x1 + 40*x0)} in another. However, I did notice that in the second case, p is indeed -1. So I applied "simplify" to that expression, and the problem seems to be solved. Maybe there's somewhere in match() that needs such a "simplify" operation? Chenjie -- You received this message because you are subscribed to the Google Groups "sympy" 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?hl=en.
