Skip to content

Commit

Permalink
Shifted the position of import statements
Browse files Browse the repository at this point in the history
  • Loading branch information
RuchitJagodara committed Feb 9, 2024
1 parent 1781ad3 commit 4b7bac3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/sage/groups/matrix_gps/linear.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@
from sage.groups.matrix_gps.named_group import (
normalize_args_vectorspace, NamedMatrixGroup_generic)
from sage.misc.latex import latex
from sage.misc.misc_c import prod
from sage.rings.infinity import Infinity


###############################################################################
Expand Down Expand Up @@ -321,12 +323,14 @@ def order(self):
TESTS:
Check if :trac:`36876` is fixed::
sage: SL(1, QQ).order()
1
sage: SL(2, ZZ).cardinality()
+Infinity
Check if :trac:`35490` is fixed::
sage: q = 7
sage: FqT.<T> = GF(q)[]
sage: N = T^2+1
Expand All @@ -337,9 +341,6 @@ def order(self):
sage: S.order()
117600
"""
from sage.rings.infinity import Infinity
from sage.all import prod

n = self.degree()

if self.base_ring().is_finite():
Expand Down

0 comments on commit 4b7bac3

Please sign in to comment.