On 2012-05-03, Simon King <[email protected]> wrote: > .... Then, the third solution of your > problem would be > def __init__(self, i): > CommutativeRing.__init__(self, i.base_ring(), category=False) > self._ideal = i > self._init_category_(CommutativeRings()) # or whatever is appropriate
Oops, I mean CommutativeAlgebra.__init__(...) and CommutativeAlgebras(i.base_ring()), of course. -- To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
