-
-
Notifications
You must be signed in to change notification settings - Fork 662
Closed
Description
The Dirichlet group of modulus 1 should consist of the trivial character.
Something in the .list() generator seems to be broken in this case and it returns a character which takes the value 0 instead of 1.
However, note that list(D) works as expected and allegedly list(D)[0] is equal to D.list()[0].
sage: D=DirichletGroup(1)
sage: D.list()[0](1)
0
sage: list(D)[0](1)
1
sage: D.list()[0]==list(D)[0]
True
Component: number theory
Keywords: dirichlet characters, sd51
Author: Bartosz Naskrecki
Reviewer: David Loeffler
Merged: sage-5.12.beta4
Issue created by migration from https://trac.sagemath.org/ticket/14368