Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3080 by [email protected]: wrong order in series
http://code.google.com/p/sympy/issues/detail?id=3080


The series method with precision `prec` sometimes in presence of
`log(x)` terms converts the order to `O(x**prec * log(x)**k`)
as in this example

```
from sympy import *
x = Symbol('x')
(sin(x)*log(x)).series(x,0,4)
x*log(x) - x**3*log(x)/6 + O(x**4*log(x))
```

some other times it gives the requested order
```
(x**2*(x**3 + x**2 + 1)*log(x)).series(x, 0, 4)
x**2*log(x) + x**4*log(x) + O(x**4)
```

which is the correct behavior



--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" 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-issues?hl=en.

Reply via email to