Hi,
I believe I managed to isolate the problem and fix it. Summary:
Executing the following two commands triggers the problem for me (i.e.
the second result computed is wrong):
gruntz(gamma(x+1)/sqrt(2*pi)- exp(-x)*(x**(x+S(1)/2) +
x**(x-S(1)/2)/12), x, oo)
gruntz(exp(x)*exp(x**2)*(erf(x+1/exp(x))-erf(x)), x, oo)
My (ness01's) branch gruntz contains a fix. Can you verify if this works
for you?
A longer explanation is in the commit message.
Tom
On 23.01.2012 22:13, Joachim Durchholz wrote:
Hi all,
functions/special/tests/test_error_functions.py[8] F....... [FAIL]
File "[...]/sympy/functions/special/tests/test_error_functions.py", line
38, in test_erf
assert limit(exp(x)*exp(x**2)*(erf(x+1/exp(x))-erf(x)), x, oo) ==
2/sqrt(pi)
AssertionError
Note that the fail will happen only if the tests are all run in succession.
Running test_error_function in isolation does not reproduce the fail.
Unfortunately I'm running out of time and can't do the git bisect.
Regards,
Jo
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To post to this group, send email to sympy@googlegroups.com.
To unsubscribe from this group, send email to
sympy+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sympy?hl=en.