Comment #3 on 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
Now we get a correct exception: >>> var('x') >>> a=Symbol('a', positive=1) >>> 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 "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 ValueError("Cannot determine the sign of %s" % e) ValueError: Cannot determine the sign of sin(a*x) -- 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 -~----------~----~----~----~------~----~------~--~---