Le 17/11/2012 04:04, Ronan Lamy a écrit :
Le 17/11/2012 02:09, smichr a écrit :
The failing report is at
https://travis-ci.org/sympy/sympy/builds/3212369  and another one will
be available when the tests finish again. There should be no difference,
however, since I only squashed the last two commits together.

It's something to do with Function('gamma') somehow pre-empting the real
gamma function. The problem can easily be reproduced in master:

In [1]: Function('gamma')
Out[1]: sympy.core.function.gamma

In [2]: from sympy.core.tests.test_wester import test_J10

In [3]: test_J10()
---------------------------------------------------------------------------
AssertionError                            Traceback (most recent call last)
/home/ronan/dev/sympy/<ipython-input-3-fced9a91586b> in <module>()
----> 1 test_J10()

/home/ronan/dev/sympy/sympy/core/tests/test_wester.pyc in test_J10()
     510 def test_J10():
     511     mu, nu = symbols('mu, nu', integer=True)
--> 512     assert assoc_legendre(nu, mu, 0) ==
2**mu*sqrt(pi)/gamma((nu-mu)/2+1)/gamma((-nu-mu+1)/2)
     513
     514 def test_J11():

AssertionError:


Oh, I know what it is. assoc_legendre uses C.gamma. This is a live instance of the problem with C.stuff that I described a few weeks ago: https://groups.google.com/d/msg/sympy/g7KJ1N1XAA4/Gq1DBJuGAXUJ

--
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to