Skip to content

Commit

Permalink
Merge pull request #5797 from roed314/nosubs
Browse files Browse the repository at this point in the history
Fix bug when no subgroups computed
  • Loading branch information
jenpaulhus authored Jan 2, 2024
2 parents 05bd255 + 32788d7 commit fc36f69
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lmfdb/groups/abstract/web_groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -1446,7 +1446,7 @@ def display_direct_product(self):

@lazy_attribute
def display_wreath_product(self):
if not self.wreath_product:
if not self.has_subgroups or not self.wreath_product:
return None
wpd = self.wreath_data
from lmfdb.galois_groups.transitive_group import transitive_group_display_knowl
Expand Down Expand Up @@ -1478,6 +1478,8 @@ def display_wreath_product(self):

@lazy_attribute
def semidirect_products(self):
if not self.has_subgroups:
return None
semis = []
subs = defaultdict(list)
for sub in self.subgroups.values():
Expand All @@ -1493,6 +1495,8 @@ def semidirect_products(self):

@lazy_attribute
def nonsplit_products(self):
if not self.has_subgroups:
return None
nonsplit = []
subs = defaultdict(list)
for sub in self.subgroups.values():
Expand Down

0 comments on commit fc36f69

Please sign in to comment.