On Mon, 9 Mar 2015, John Cremona wrote:
sage: n = 10/2 sage: n 5 sage: n.is_prime() False
I got AttributeError: 'sage.rings.rational.Rational' object has no attribute 'is_prime' on Sage 6.4. When has this changed? Why?
-- Jori Mäntysalo
On Mon, 9 Mar 2015, John Cremona wrote:
sage: n = 10/2 sage: n 5 sage: n.is_prime() False
I got AttributeError: 'sage.rings.rational.Rational' object has no attribute 'is_prime' on Sage 6.4. When has this changed? Why?
-- Jori Mäntysalo