#17338: Fix printing of Dirichlet characters
-----------------------------+----------------------------------------
Reporter: pbruin | Owner:
Type: defect | Status: new
Priority: minor | Milestone: sage-6.4
Component: number theory | Keywords: Dirichlet characters
Merged in: | Authors: Peter Bruin
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies: #17337
Stopgaps: |
-----------------------------+----------------------------------------
Dirichlet characters modulo 2 are printed in a strange way:
{{{
sage: DirichletGroup(2)[0]
Dirichlet character modulo 2 of conductor 1 mapping
}}}
After #17337, this also happens for Dirichlet characters modulo 1.
This ticket makes Dirichlet characters modulo 1 and 2 print as
{{{
sage: DirichletGroup(1)[0]
Dirichlet character modulo 1 of conductor 1
sage: DirichletGroup(2)[0]
Dirichlet character modulo 2 of conductor 1
}}}
and uses the `mapping ...` only for conductors >= 3:
{{{
sage: DirichletGroup(3)[1]
Dirichlet character modulo 3 of conductor 1 mapping 2 |--> -1
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/17338>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.