Hi Ondrej, I am using the Debian package version 0.7.5-2.
Francesc On Wednesday, August 6, 2014 3:24:57 PM UTC-5, Francesc Ferrer wrote: > > 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/2280070a-8ed3-4ace-96ff-90455deb385a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
