Skip to content

Commit

Permalink
Remove warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jwj61 committed Oct 9, 2024
1 parent f010f13 commit 0d4661c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lmfdb/galois_groups/transitive_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
from lmfdb.groups.abstract.main import abstract_group_namecache, abstract_group_display_knowl
from lmfdb.groups.abstract.web_groups import WebAbstractGroup

CC_LIMIT = 160

def knowl_cache(galois_labels=None, results=None):
"""
Returns a dictionary for use in abstract_group_display_knowl, group_display and
Expand Down Expand Up @@ -190,7 +192,7 @@ def characters(self):

@lazy_attribute
def conjclasses(self):
if self.num_conjclasses()>160:
if self.num_conjclasses()>CC_LIMIT:
return None
g = self.gapgroupnt()
n = self.n()
Expand Down Expand Up @@ -237,7 +239,7 @@ def malle_a(self):

@lazy_attribute
def can_chartable(self):
if self.num_conjclasses() > 160:
if self.num_conjclasses() > CC_LIMIT:
return False
if not db.gps_groups.lookup(self.abstract_label()):
return False
Expand Down Expand Up @@ -578,7 +580,7 @@ def resolve_display(resolves):
if deg != old_deg:
if old_deg < 0:
ans += '<table><tr><th>'
ans += '$\card{(G/N)}$<th>Galois groups for <a title = "stem field(s)" knowl="nf.stem_field">stem field(s)</a>'
ans += r'$\card{(G/N)}$<th>Galois groups for <a title = "stem field(s)" knowl="nf.stem_field">stem field(s)</a>'
else:
ans += '</td></tr>'
old_deg = deg
Expand Down

0 comments on commit 0d4661c

Please sign in to comment.