Skip to content

Commit

Permalink
Merge pull request #6023 from jwj61/fixccreps
Browse files Browse the repository at this point in the history
Restore conjugacy class reps in knowls
  • Loading branch information
roed314 authored May 1, 2024
2 parents 58ce29f + e4c7687 commit f3ee6a7
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions lmfdb/groups/abstract/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2521,12 +2521,11 @@ def cc_data(gp, label, typ="complex", representative=None):
ans += "<br>Representative: id"
else:
gp_value = WebAbstractGroup(gp)
if gp_value.representations.get("Lie"):
if gp_value.representations["Lie"][0]["family"][0] == "P" and gp_value.order < 2000: #Problem with projective lie groups of order <2000
pass
else:
repn = gp_value.decode(wacc.representative, as_str=True)
ans += "<br>Representative: {}".format("$" + repn + "$")
if gp_value.representations.get("Lie") and gp_value.representations["Lie"][0]["family"][0] == "P" and gp_value.order < 2000: #Problem with projective lie groups of order <2000
pass
else:
repn = gp_value.decode(wacc.representative, as_str=True)
ans += "<br>Representative: {}".format("$" + repn + "$")
return Markup(ans)


Expand Down

0 comments on commit f3ee6a7

Please sign in to comment.