Actually, I think the issue here is that there isn't actually a division happening, rather, it *is* doing the unit check and inverse of unit calculation within numerator(); but still moves to the fractionfield. When numerator(), on the fractionfield element is called, eventually the function inverse_of_unit() is getting called and that is causing the base ring to change to the fraction field of the base ring. It seems like the whole point of calculating the inverse of a unit in a ring would be to stay within the ring.
-- You received this message because you are subscribed to the Google Groups "sage-devel" 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 https://groups.google.com/group/sage-devel. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/c03a8b5b-6b18-44c0-bec0-22324d2be87c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
