Skip to content

Commit

Permalink
Fix image of rep in dimension 1
Browse files Browse the repository at this point in the history
  • Loading branch information
jwj61 committed Aug 21, 2024
1 parent 6e1d464 commit a9c0ccf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lmfdb/modl_galois_representations/web_modlgal.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ def image_pretty_with_abstract(image_label, is_surjective, algebraic_group, dime
s = _codomain(algebraic_group, dimension, base_ring_order, base_ring_is_field)
if is_surjective:
return "$" + s + "$"
if dimension==1:
return image_label
t = display_knowl('gl2.subgroup_data', title=image_label, kwargs={'label':image_label}) if dimension == 2 else image_label
if image_abstract_group:
t += r"$\ \cong$ "+ abstract_group_display_knowl(image_abstract_group)
t += r" $\ \cong$ "+ abstract_group_display_knowl(image_abstract_group)
return t

def rep_pretty(algebraic_group, dimension, base_ring_order, base_ring_is_field):
Expand Down

0 comments on commit a9c0ccf

Please sign in to comment.