Skip to content

Commit

Permalink
Revert all the changes
Browse files Browse the repository at this point in the history
  • Loading branch information
RuchitJagodara committed Dec 25, 2023
1 parent 90c8f8a commit 879ac37
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/sage/categories/finite_groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,6 @@ def cardinality(self):
sage: G.cardinality()
384
"""
# If the group is special group and finite then there is only one possibility that the degree
# and cardinality will be one.
if hasattr(self,'_special') and self._special==True:
return 1
try:
o = self.order
return o()
Expand Down

0 comments on commit 879ac37

Please sign in to comment.