#12289: pass algorithm argument to custom numeric evaluation methods
-------------------------------------+-------------------------------------
       Reporter:  burcin             |        Owner:  burcin
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-5.12
      Component:  symbolics          |   Resolution:
       Keywords:  pynac sd35.5       |    Merged in:
  sd40.5 sd48                        |    Reviewers:  Karl-Dieter Crisman,
        Authors:  Burcin Erocal,     |  Doug S. MacNeil, Benjamin Jones
  Benjamin Jones                     |  Work issues:  doctests,
Report Upstream:  N/A                |  documentation
         Branch:                     |       Commit:
   Dependencies:  #13933, #4102,     |     Stopgaps:
  #15198                             |
-------------------------------------+-------------------------------------

Comment (by kcrisman):

 Replying to [comment:25 kcrisman]:
 > This (or possibly a closely related patch) fails a doctest, actually.
 Sorry if this isn't the precise ticket.
 > {{{
 > sage -t sage/misc/sagedoc.py
 > **********************************************************************
 > File "sage/misc/sagedoc.py", line 22, in sage.misc.sagedoc
 > Failed example:
 >     for line in open(docfilename):
 >           if "#sage.symbolic.expression.Expression.N" in line:
 >               print line
 > Expected:
 >     <tt class="descname">N</tt><big>(</big><em>prec=None</em>,
 <em>digits=None</em><big>)</big>...
 > Got:
 >     <tt class="descname">N</tt><big>(</big><em>prec=None</em>,
 <em>digits=None</em>, <em>algorithm=None</em><big>)</big><a
 class="headerlink" href="#sage.symbolic.expression.Expression.N"
 title="Permalink to this definition">ΒΆ</a></dt>
 >     <BLANKLINE>
 > }}}

 Yeah, I'm pretty sure this would do it, because of
 {{{
 def _numerical_approx(self, prec=None, digits=None, algorithm=None):
 }}}
 in the symbolic expression file.

--
Ticket URL: <http://trac.sagemath.org/ticket/12289#comment:29>
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/groups/opt_out.

Reply via email to