Comment #11 on issue 895 by glenn.hortonsmith: series method does not work  
if the point is not 0
http://code.google.com/p/sympy/issues/detail?id=895

OK, this patch has the exceptions raised in Basic.lseries() and  
Basic.nseries(), and
uses S.Zero for the comparison.  (And the patch file should be all there  
this time,
I hope.)

With this patch, sympy/series/tests/test_nseries.py had three "failures"  
due to
exceptions.  One of them seems to have always been a bug in the test itself  
(not
calling series correctly), while the other two tests were indeed testing  
for correct
expansion of "ceil" and "floor" about a non-zero point, which now throws an
exception.  The second attached patch fixes those tests, and also adds a  
test for
the exception-throwing.

I hope this helps.  I unfortunately won't have much more time to work on  
this for a
couple weeks...

Attachments:
        0001-Add-NotImplementedError-exception-for-non-zero-point.patch  1.1 KB
        0002-Adjust-and-extend-series-tests-to-reflect-current-si.patch  2.3 KB

--
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to