Status: New
Owner:
Labels: Type-Defect Priority-Medium
New issue 2150 by mortbauer: integrate gives wrong result
http://code.google.com/p/sympy/issues/detail?id=2150
The integral for u is returning 0, but the integral for v is returning pi,
although there is only a difference in one const
Updates:
Status: Accepted
Labels: Integration WrongResult
Comment #1 on issue 2150 by asmeurer: integrate gives wrong result
http://code.google.com/p/sympy/issues/detail?id=2150
No, you have definitely found a bug. The problem is in the indefinite
integral:
In [23]: integrate
Comment #2 on issue 2150 by asmeurer: integrate gives wrong result
http://code.google.com/p/sympy/issues/detail?id=2150
Issue 2314 has been merged into this issue.
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send ema
Comment #3 on issue 2150 by matt...@gmail.com: integrate gives wrong result
http://code.google.com/p/sympy/issues/detail?id=2150
This is actually more complex problem, e.g.:
In [1]: for i in xrange(100):
...: try: u = integrate(1/(x**2 + i), x)
...: except ZeroDivisionError: print
Comment #4 on issue 2150 by asmeurer: integrate gives wrong result
http://code.google.com/p/sympy/issues/detail?id=2150
I'll look into it (my guess is that there is a bug in the atan code).
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To po
Comment #5 on issue 2150 by asmeurer: integrate gives wrong result
http://code.google.com/p/sympy/issues/detail?id=2150
Regarding the 1/(x**2 + y**2), I want to figure out how to backport this
fix from integration3 before the release. I didn't have any luck bisecting
because of some other b
Comment #6 on issue 2150 by asmeurer: integrate gives wrong result
http://code.google.com/p/sympy/issues/detail?id=2150
With Mateusz's auto keyword to div() commit, this now returns a result.
Unfortunately, it is wrong! (in master)
In [1]: integrate(1/(x**2 + y**2), x)
Out[1]:
⎛ⅈ⋅y
Updates:
Labels: NeedsReview asmeurer
Comment #7 on issue 2150 by asmeurer: integrate gives wrong result
http://code.google.com/p/sympy/issues/detail?id=2150
The fix is at https://github.com/sympy/sympy/pull/297.
--
You received this message because you are subscribed to the Google Grou