[sage-support] Re: modular forms bug(s)?

2008-03-26 Thread Jay Pottharst
Thanks all for the replies. As far as the coercion issues go, I generally agree. I'd be happy to have access to a CuspForms(22).zero_element() or CuspForms(22)(0), and start my summation there. Re: I agree with William for the defaults. Jay --~--~-~--~~~---~--~---

[sage-support] modular forms bug(s)?

2008-03-26 Thread Jay Pottharst
Hi all, I'm having trouble adding two modular forms together, sometimes. Here is a whittled-down demo case: sage: b=CuspForms(22).basis() sage: sum(b) Traceback (most recent call last): ... NameError: global name 'other' is not defined The following also doesn't work: sage: ssum=0 sage: for u