> I don't think that will work if you are relying on the error message to
> indicate the wrong length of input.  For example:
>
> sage: AdditiveAbelianGroup([6,2])
> Additive abelian group isomorphic to Z/2 + Z/6
>
> Now you will expect the element (1,0) to have order 6 but it has order 2.

No, this looks good !

sage: G=AdditiveAbelianGroup([6,2])
sage: G(vector([2,2]))
(2, 0)
sage: G(vector([1,0]))+G(vector([1,0]))
(2, 0)

Nathann

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to