# Ticket #9706: trac_9706_bugfixes_and_doctests.patch

File trac_9706_bugfixes_and_doctests.patch, 1.6 KB (added by maldun, 7 years ago)

incorporated things that were already been done ...

• ## sage/functions/orthogonal_polys.py

```# HG changeset patch
# User Stefan Reiterer <domors@gmx.net>
# Date 1386287563 -3600
# Node ID 2419063308f41fb294d04b917d1d1184ed876526
# Parent  c57955ea781aacef10b68fd62a630bcea5fb3986
Trac 9706: Some bugfixes and doctests added

diff --git a/sage/functions/orthogonal_polys.py b/sage/functions/orthogonal_polys.py```
 a #***************************************************************************** from sage.misc.sage_eval import sage_eval from sage.rings.all import ZZ from sage.rings.all import ZZ, RR from sage.calculus.calculus import maxima 64*x^7 - 112*x^5 + 56*x^3 - 7*x sage: chebyshev_T(3/2,x) chebyshev_T(3/2, x) sage: parent(chebyshev_T(4, RIF(5))) Real Interval Field with 53 bits of precision """ if not is_Expression(args[0]): if not is_Expression(args[-1]) and is_inexact(args[-1]): try: import sage.libs.mpmath.all as mpmath return self._evalf_(*args) step_parent = parent(args[-1]) return step_parent(self._evalf_(*args)) except AttributeError: pass except mpmath.NoConvergence: -3363.00000000000 sage: chebyshev_T(5,0.3).n() 0.998880000000000 sage: chebyshev_T(1/2, 0) 0.707106781186548 """ try: step_parent = kwds['parent']