Hi, all,

I'm working with some old code (circa 3.4), trying to apply it to new sage 
(4.6).  The code has calls like
   ...sqrt(X*1.0)...
(to get a "real" square root for an Integer X)
and this now gives me

    doctest:847: DeprecationWarning: numerical_sqrt is deprecated, use sqrt(x, 
prec=n) instead

So, being an obedient programmer, I replace this with 
    ...sqrt(X, prec=10)...
to which Sage replies

    TypeError: sqrt() got an unexpected keyword argument 'prec'

(this happens whether 'X' is "real" or Integer).

I'm clearly missing something.  Can someone lend a clue?

Thanks.

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Absorption of Federal Funds
--------
If you're not confused,
You're not paying attention
--------



-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to