Status: Accepted
Owner: smi...@gmail.com
Labels: Type-Defect Priority-Medium

New issue 2317 by smi...@gmail.com: loggamma needs testing
http://code.google.com/p/sympy/issues/detail?id=2317

The current test suite is:


    def test_loggamma():
        pass

And things like loggamma(2,3) don't raise an error; nargs is 1 so it should. The error is not raised until evaluation:

    h[9] >>> loggamma(2,3)
    loggamma(2, 3)
    h[10] >>> _.n()
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "sympy\core\evalf.py", line 1041, in evalf
        result = evalf(self, prec+4, options)
      File "sympy\core\evalf.py", line 980, in evalf
        r = x._eval_evalf(prec)._mpf_, None, prec, None
      File "sympy\core\function.py", line 239, in _eval_evalf
        v = func(*args)
    TypeError: f() takes exactly 1 argument (2 given)

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