On Tuesday, April 9, 2019 at 2:34:38 PM UTC+10, Martin R wrote:
>
> Dear Travis!
>
> Thank you for the hint!  I got a bit further, but I'm still stuck.  Here 
> is a minimal non-working example.
>
> I suspect that the problem is my not understanding of the hint in 
> IndexedFreeModuleElement.__init__:
>
> -------------------------------
>         """
>         Create a combinatorial module element. This should never be
>         called directly, but only through the parent combinatorial
>         free module's :meth:`__call__` method.
> -------------------------------
>
> That is a complete red herring. Basically it is saying you should always 
construct elements by P(foo), where P is the parent object, not by 
ElementClass(P, foo). What you need to do is add a __call__ method to 
TwoPositionsElement to redirect to (or be an alias for) the plethysm method.

Best,
Travis

-- 
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 sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to