#14778: Fix numerical_approx with algorithm keyword
-------------------------+--------------------------------------------------
   Reporter:  kcrisman   |             Owner:  burcin   
       Type:  defect     |            Status:  new      
   Priority:  major      |         Milestone:  sage-5.11
  Component:  symbolics  |          Keywords:           
Work issues:             |   Report Upstream:  N/A      
  Reviewers:             |           Authors:           
  Merged in:             |      Dependencies:           
   Stopgaps:             |  
-------------------------+--------------------------------------------------
 This is not currently an issue since we haven't implemented it, but we
 should make it work.  See #12289.
 {{{
 sage: erf(1).n(algorithm='foo')
 0.842700792949715
 sage: erf(0)
 0
 sage: parent(erf(0))
 Integer Ring
 sage: erf(0).n(algorithm='foo')
 ---------------------------------------------------------------------------
 TypeError                                 Traceback (most recent call
 last)

 /Users/mcneil/sagedev/sage-5.1.beta0b/sage-5.1.beta0/devel/sage-
 hack2/sage/<ipython console> in <module>()

 /Users/mcneil/sagedev/sage-5.1.beta0b/sage-5.1.beta0/local/lib/python2.7
 /site-packages/sage/structure/element.so in
 sage.structure.element.Element.numerical_approx
 (sage/structure/element.c:4988)()

 TypeError: numerical_approx() got an unexpected keyword argument
 'algorithm'
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14778>
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