Status: Accepted Owner: Vinzent.Steinberg Labels: Type-Defect Priority-Medium Limits
New issue 1366 by Vinzent.Steinberg: limit(10*exp(-a*x)*sin(a*x), x, -oo) fails http://code.google.com/p/sympy/issues/detail?id=1366 >>> limit(10*exp(-a*x)*sin(a*x), x, oo) 0 >>> limit(10*exp(-a*x)*sin(a*x), x, -oo) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/one/src/sympy/git/sympy/series/limits.py", line 77, in limit r = gruntz(e, z, z0, dir) File "sympy/series/gruntz.py", line 489, in gruntz return limitinf(e.subs(z,-z), z) File "sympy/series/gruntz.py", line 339, in limitinf s = sign(c0, x) File "sympy/series/gruntz.py", line 314, in sign return sign(a, x) * sign(b, x) File "sympy/series/gruntz.py", line 324, in sign raise "cannot determine the sign of %s"%e TypeError: exceptions must be classes or instances, not str This uncovers a broken raise statement. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, send email to sympy-issues@googlegroups.com To unsubscribe from this group, send email to sympy-issues+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sympy-issues?hl=en -~----------~----~----~----~------~----~------~--~---