Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
trac #18774: no J4
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanncohen committed Jun 23, 2015
1 parent 8b7160a commit 7efe54b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/sage/groups/perm_gps/permgroup_named.py
Original file line number Diff line number Diff line change
Expand Up @@ -982,10 +982,11 @@ def _repr_(self):
class JankoGroup(PermutationGroup_unique):
def __init__(self, n):
r"""
The Janko Groups J1,J2,J3, and J4
The Janko Groups `J1, J2`, and `J3`.
INPUT:
n -- an integer among `\{1,2,3,4\}`.
- ``n`` -- an integer among `\{1,2,3\}`.
EXAMPLES::
Expand All @@ -999,8 +1000,8 @@ def __init__(self, n):
sage: TestSuite(G).run(skip=["_test_enumerated_set_contains", "_test_enumerated_set_iter_list"])
"""
from sage.interfaces.gap import gap
if n not in [1,2,3,4]:
raise ValueError("n must belong to {1,2,3,4}.")
if n not in [1,2,3]:
raise ValueError("n must belong to {1,2,3}.")
self._n = n
gap.load_package("atlasrep")
id = 'AtlasGroup("J%s")'%n
Expand Down

0 comments on commit 7efe54b

Please sign in to comment.