Hello, Repeated calls to 'coeff' give inconsistent results:
import sympy x, y, a, b = sympy.symbols( 'x y a b') f = a*x**2*y**2 + b*x*y**2 Then, the commands 'f.coeff(x,2).coeff(y,2)' and 'f.coeff(y,2).coeff(x,2)' both give 'a', which is correct. The command f.coeff(y,0).coeff(x,2) gives 0 as expected. However, f.coeff(x,2).coeff(y,0) gives 'a', which is wrong! Is this a bug, or am I missing something obvious? -Francesc -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/1462c15f-0e97-43ee-9685-091342b0b0bf%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
