You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The patch fixes this: for consistency with other groups, +Infinity is returned as the order for group elements of infinite order. A doctest has been added.
The patch should apply to 3.1.2.alpha4 and later, and all doctests in sage.groups pass.
When one tries to use the order function on group elements of infinite order, one gets an error:
gl=GL(2,ZZ)
g=gl.gens()[2]
g.order()
In MAGMA, one (often) gets the answer 0 if one calls the Order function on elements of infinite order.
Component: linear algebra
Issue created by migration from https://trac.sagemath.org/ticket/1170
The text was updated successfully, but these errors were encountered: