| 1 | initial version |
The issue is that x, y still refer to the old variables in the polynomial ring with four variables. It works when adding the lines
x, y, s = R1.gens()
and
x, y = R2.gens()
respectively.
For debugging MPolynomial_elements, the underlying .dict() field is helpful.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.