Updates:
        Status: Accepted
        Labels: -NeedsReview -smichr

Comment #4 on issue 2981 by krastano...@gmail.com: document the "check" option of solve()
http://code.google.com/p/sympy/issues/detail?id=2981

It was a typo but a typo in the other direction (I think). sin(x)/x is equal to one at x=0. What was in solve() should have been sin(x)/x-1

So we must have:

solve(sin(x)/x) >> []
solve(sin(x)/x, check=False) >> [] # in master this wrongly gives [0]
solve(sin(x)/x - 1) >> [] # NotImplemented
solve(sin(x)/x - 1, check=False) >> [0] # NotImplemented

There are two issues here. The documentation should make it clear if check causes that type of errors instead of producing correct answer. (this is the current issue)

At the moment check=True produces correct answers (near the zero) if expr=O(x)/O(1). check=False helps to find correct answers when expr=O(x**p)/O(x**q) if p>q but produces incorrect answers if p<=q.

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