On Tue, Sep 6, 2011 at 10:57 AM, Adam Webb <maxthemo...@googlemail.com> wrote: > > > On Sep 6, 6:46 am, Matthew Alderson <alderson.matt...@gmail.com> > wrote: >> Hello, >> >> I'm using Sage 4.6.2 on my local machine and when I use the command >> >> DirichletGroup(1)[0].values() >> >> it gives me the correct values (namely [1]). However, in Sage 4.7.1, it >> seems to return [0], which is >> false since everything is coprime to 1. >> >> Thank you, >> >> Matt > > > I also get [0] in 4.7.1. This is built from source on Ubuntu 11.04 > running in a virtual machine (32 bit and 64 bit versions). > > Adam
I get both (!): http://trac.sagemath.org/sage_trac/ticket/11783 wstein@ubuntu:~$ sage ---------------------------------------------------------------------- | Sage Version 4.7.2.alpha2, Release Date: 2011-08-18 | | Type notebook() for the GUI, and license() for information. | ---------------------------------------------------------------------- ********************************************************************** * * * Warning: this is a prerelease version, and it may be unstable. * * * ********************************************************************** sage: chi = DirichletGroup(1)[0] sage: chi(1) 1 sage: chi.values() [1] sage: Exiting Sage (CPU time 0m0.09s, Wall time 0m18.02s). wstein@ubuntu:~$ sage ---------------------------------------------------------------------- | Sage Version 4.7.2.alpha2, Release Date: 2011-08-18 | | Type notebook() for the GUI, and license() for information. | ---------------------------------------------------------------------- ********************************************************************** * * * Warning: this is a prerelease version, and it may be unstable. * * * ********************************************************************** sage: chi = DirichletGroup(1)[0] sage: chi.values() [0] sage: chi(1) 0 > > -- > To post to this group, send an email to sage-devel@googlegroups.com > To unsubscribe from this group, send an email to > sage-devel+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/sage-devel > URL: http://www.sagemath.org > -- William Stein Professor of Mathematics University of Washington http://wstein.org -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org