Skip to content

Commit

Permalink
Merge pull request #5664 from BarinderBanwait/chars_primitive_bug
Browse files Browse the repository at this point in the history
fix #5651
  • Loading branch information
AndrewVSutherland authored Sep 29, 2023
2 parents bb94d40 + 76c02d4 commit 9326358
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lmfdb/characters/ListCharacters.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def get_character_modulus(a, b, limit=7):
entry.append(el)
entries[(row, col)] = entry
entries2 = {}
def out(chi): return (chi.number, chi.is_primitive,
def out(chi): return (chi.number, chi.is_primitive(),
chi.order, chi.is_even())
for k, v in entries.items():
l = []
Expand Down
2 changes: 1 addition & 1 deletion lmfdb/characters/templates/ModulusList.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
<table>
<tr>
{% for e in entry %}
<td class="{% if e[0][1] -%}primitive{%- else -%}imprimitive{%- endif %}">
<td class="{% if e[0][1] == true -%}primitive{%- else -%}imprimitive{%- endif %}">
{% for chi in e %}
<a href="{{url_for('characters.render_Dirichletwebpage', modulus=row, number=chi[0])}}">${{ chi[0] }}$</a>
{% if loop.first %}<br/>{% endif %}
Expand Down

0 comments on commit 9326358

Please sign in to comment.