Skip to content

Commit

Permalink
small thing
Browse files Browse the repository at this point in the history
  • Loading branch information
jenpaulhus committed Jun 7, 2024
1 parent fe8c77c commit 0421094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lmfdb/groups/abstract/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1337,7 +1337,7 @@ def cc_repr(label,code , latex = True): #default is include dollar signs
if latex:
return "$" + gp.decode(code,as_str= True) + "$"
else: # this is for download postprocess
if gp.element_repr_type == ("Perm" or "PC"):
if gp.element_repr_type == "Perm" or gp.element_repr_type == "PC":
return gp.decode(code,as_str= True)
else: # matrices as lists
return gp.decode(code,as_str= False)
Expand Down

0 comments on commit 0421094

Please sign in to comment.