| 1 | initial version |
Never mind, figured it out. I had accidentally deleted a line from _element_constructor. It should read
class IntArrays(UniqueRepresentation, Parent):
def __init__(self):
Parent.__init__(self, category = Sets())
def _element_constructor_(self, *args, **keywords):
return self.element_class(self, *args, **keywords)
Element = IntArray
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.