Hi Andrew! On Thu, Mar 19, 2009 at 6:20 PM, Andrew <doche...@gmail.com> wrote: > > Hi, > > I have just started using Sympy and find it to be terrific so far, so > thanks for all the work you've done in creating it! > > I'm having some problems getting series expansions of some functions, > sympy hangs forever (or at least a few hours) for some functions. I've > reduced the problem to the simplest case that causes this, and the > code appears below. Am I doing something wrong here? > >> from sympy import * >> x,a,b = symbols('x,a,b') >> f = 1/(1+a*x) >> print f.series(x) > > This works fine and prints the series to O(x**6) as expected > >> f = 1/(1+(a+b)*x) >> print f.series(x) > > This just hangs and doesn't print anything! > > I am running the latest version of sympy in the git repository.
what an embarrasing bug. I'll try to look at it what went wrong and fix it. Thanks for discovering it. Ondrej --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sympy?hl=en -~----------~----~----~----~------~----~------~--~---