Hello,
AttributeError: 'CenterSkewPolynomialRing_with_category' object
> has no attribute 'element_class'
>
> is due to some bad initialization. There should be an attribute
> "Element" defined on the parent before calling the "Parent" constructor.
> In other words, you should follow the following pattern
>
> class MyElement(Element):
> ...
>
> class MyParent(Parent):
> Element = MyElement
>
> def __init__(self, ...):
> ...
> Parent.__init__(self, ...)
>
I'm not sure I understand what you mean. Could you please elaborate a
little?
-Arpit.
--
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.
For more options, visit https://groups.google.com/d/optout.