#16671: implement harmonic number function H(n,m)
-------------------------+-------------------------------------------------
       Reporter:  rws    |        Owner:
           Type:         |       Status:  needs_work
  defect                 |    Milestone:  sage-pending
       Priority:  major  |   Resolution:
      Component:         |    Merged in:
  symbolics              |    Reviewers:
       Keywords:         |  Work issues:
  special, log           |       Commit:
        Authors:  Ralf   |  d60311eda7cce822b74480550498da09b34b7a63
  Stephan                |     Stopgaps:
Report Upstream:  N/A    |
         Branch:         |
  u/rws/16671            |
   Dependencies:         |
  #17790                 |
-------------------------+-------------------------------------------------
Changes (by dkrenn):

 * status:  needs_review => needs_work


Comment:

 {{{
 sage -t src/sage/symbolic/function.pyx
 **********************************************************************
 File "src/sage/symbolic/function.pyx", line 394, in
 sage.symbolic.function.Function.__call__
 Failed example:
     binomial(Qp(2)(9),5)
 Exception raised:
     Traceback (most recent call last):
       File "/local/dakrenn/sage/6.9/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 496, in _run
         self.compile_and_execute(example, compiler, test.globs)
       File "/local/dakrenn/sage/6.9/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 858, in compile_and_execute
         exec(compiled, globs)
       File "<doctest sage.symbolic.function.Function.__call__[20]>", line
 1, in <module>
         binomial(Qp(Integer(2))(Integer(9)),Integer(5))
       File "sage/symbolic/function.pyx", line 851, in
 sage.symbolic.function.GinacFunction.__call__
 (build/cythonized/sage/symbolic/function.cpp:9858)
         res = super(GinacFunction, self).__call__(*args, **kwds)
       File "sage/symbolic/function.pyx", line 998, in
 sage.symbolic.function.BuiltinFunction.__call__
 (build/cythonized/sage/symbolic/function.cpp:11421)
         res = super(BuiltinFunction, self).__call__(
       File "sage/symbolic/function.pyx", line 511, in
 sage.symbolic.function.Function.__call__
 (build/cythonized/sage/symbolic/function.cpp:7288)
         res = g_function_eval2(self._serial, (<Expression>args[0])._gobj,
       File "sage/symbolic/pynac.pyx", line 187, in
 sage.symbolic.pynac.pyExpression_to_ex
 (build/cythonized/sage/symbolic/pynac.cpp:4108)
         raise TypeError("function did not return a symbolic expression or
 an element that can be coerced into a symbolic expression")
     TypeError: function did not return a symbolic expression or an element
 that can be coerced into a symbolic expression
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/16671#comment:68>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to