Skip to content

Commit

Permalink
Fix test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
user202729 committed Aug 30, 2024
1 parent c0b2f05 commit 72b9559
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sage/groups/perm_gps/permgroup_named.py
Original file line number Diff line number Diff line change
Expand Up @@ -2725,7 +2725,8 @@ def __init__(self, n, q, name='a'):
"""
from sage.categories.finite_fields import FiniteFields
if q in FiniteFields():
name = q.gen()
if q.degree() > 1:
name = q.gen()

Check warning on line 2729 in src/sage/groups/perm_gps/permgroup_named.py

View check run for this annotation

Codecov / codecov/patch

src/sage/groups/perm_gps/permgroup_named.py#L2729

Added line #L2729 was not covered by tests
q = q.cardinality()
if q not in NonNegativeIntegers():
raise ValueError('q must be a prime power or a finite field')
Expand Down

0 comments on commit 72b9559

Please sign in to comment.