I put a print statement in there, and it seems that your symbolic power is 
throwing it off.  It wants to compute xrange(1, 2 + ceiling(-c)).

I know that the limit algorithm relies on the series algorithm to work.  I 
don't know if this is just a bug there if there really isn't a way to deal with 
symbolic powers in full generality like this (others, like Ondrej, would know 
better).

Aaron Meurer

On Oct 9, 2010, at 9:07 PM, Ben Goodrich wrote:

> Hi Aaron,
> 
> On Oct 9, 10:32 pm, "Aaron S. Meurer" <[email protected]> wrote:
>> I tried running the limit through Maple, and it couldn't do it (it just 
>> returned an unevaluated form), and Wolphram Alpha times out.  Any idea what 
>> the answer should be?
> 
> I conjecture the limit is 1 based on its similarity to some other
> functions whose limit is 1, and I suspect the problem is the ceiling()
> somehow is evaluating to NaN because I can't think of any other way
> for that xrange() to bomb out with TypeError: an integer is required
> 
> I'll open an Issue for it.
> 
> Thanks,
> Ben

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to