There was a tab there. . . Thank you for your help.
On Nov 8, 1:35 pm, Minh Nguyen <nguyenmi...@gmail.com> wrote: > Hi John, > > On Tue, Nov 9, 2010 at 2:27 AM, JJBWebb <johnjackw...@gmail.com> wrote: > > I'm trying to build a power series, and when I call the function to > > build it, sage responds "Display all XXXX possiblities? (y or n)". > > > I hit "n", then the same command pops up and then computes the power > > series correctly. > > It works fine for me with Sage 4.6: > > sage: version() > 'Sage Version 4.6, Release Date: 2010-10-30' > sage: P = 79; m = 2 > sage: upbound= integer_floor(P^m * (P-1) / 10) + 10 > sage: R.<q> = PowerSeriesRing(IntegerModRing(P^m), upbound) > sage: def EEbuild(bound): > ....: EE = 1 - q - q^2 + O(q^upbound) > ....: for i in range(2,bound+1): > ....: EE=EE+(-1)^i*(q^((1/2)*i*(3*i+1))+q^((1/2)*i*(3*i-1))) > ....: return EE > ....: > sage: lil = integer_floor(sqrt(upbound*4/3)) + 10 > sage: ee = EEbuild(lil)+O(q^upbound) > sage: ee = EEbuild(lil)+O(q^upbound) > > > Is there some way to get it so I don't have to hit "n" (i.e. avoid the > > "Display all ..." completely) so I can automate this process? > > Ensure you don't use tabs. > > -- > Regards > Minh Van Nguyen -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org