Skip to content

Commit

Permalink
XXX base with lt ~ x
Browse files Browse the repository at this point in the history
  • Loading branch information
skirpichev committed Dec 6, 2015
1 parent df71771 commit 6749a87
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sympy/core/power.py
Expand Up @@ -1265,6 +1265,10 @@ def _taylor(expr, x, n):
f0 = b.limit(x, 0)
a = e

if f0 is S.Zero:
lt = b.as_leading_term(x)
return lt**a*((b/lt)*a)._eval_nseries(x, n, logx)

from sympy.functions.combinatorial.factorials import factorial, binomial
from sympy.functions.elementary.complexes import arg
from sympy.functions.elementary.integers import floor
Expand Down

0 comments on commit 6749a87

Please sign in to comment.