I came across the following behavior for polynomial rings.

R.<y1,y2>=PolynomialRing(Qp(5),2, order='lex')
G=[y1^2 + y2^2, y1*y2 + y2^2, y2^3]
(y2^3).reduce(G).parent()

returns an `int`, whereas for other (non p-adic) fields it returns a 
polynomial ring element:

R.<y1,y2>=PolynomialRing(QQ,2, order='lex')
G=[y1^2 + y2^2, y1*y2 + y2^2, y2^3]
(y2^3).reduce(G).parent()


This causes the variety() function to fail.

I=ideal(G)
I.variety()

This is as far as I got in identifying the problem. I didn't see a 
trac-ticket on this. Is this a bug or is there some other problem?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To post to this group, send email to sage-support@googlegroups.com.
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support?hl=en.


Reply via email to