omg has the patch On Sunday, January 31, 2016 at 11:14:33 AM UTC-6, Ondřej Čertík wrote: > > Hi Swdrury, > > On Sun, Jan 31, 2016 at 5:04 AM, <swd...@hotmail.ca <javascript:>> > wrote: > > This is literally my first program using sympy, based on an example from > my > > calculus class: > > > > from sympy import * > > > > def main(): > > x=symbols("x") > > f=exp(x**3)*cos(x**6) > > print(series(f,x,0,14)) > > print(series(f,x,0,19)) > > > > if __name__ == "__main__": > > main() > > > > The output: > > > > 1 + x**3 + x**6/2 + x**9/6 + x**12/24 + O(x**14) > > 1 + x**3 + x**6/2 + x**9/6 - 11*x**12/24 - 59*x**15/120 - 179*x**18/720 > + > > O(x**19) > > > > As you can see at least one of the answers is wrong. > > Thanks for reporting it. I created an issue for it here: > > https://github.com/sympy/sympy/issues/10503 > > The series is pretty well tested, so I am surprised that there is a > bug like this. This needs to be fixed. > > > Should I bother using sympy a second time? > > We'll update the issue once this is fixed. If you find any other > issues, please let us know. > > Thanks, > Ondrej >
-- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To post to this group, send email to sympy@googlegroups.com. Visit this group at https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/17e2b8a2-d00f-4401-ac72-ecb61fbdf7f5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.