From: Michael Orlitzky Date: Fri, 24 Oct 2014 15:21:39 +0000 (-0400) Subject: Fix a (harmless) doctest failure in mjo.interpolation. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=94fb4e7b5ff5590a37043f65ed0acf7117ba3b35;p=sage.d.git Fix a (harmless) doctest failure in mjo.interpolation. --- diff --git a/mjo/interpolation.py b/mjo/interpolation.py index cbba68e..5c8fa28 100644 --- a/mjo/interpolation.py +++ b/mjo/interpolation.py @@ -48,7 +48,7 @@ def lagrange_coefficient(k, x, xs): sage: xs = [ -pi/2, -pi/6, 0, pi/6, pi/2 ] sage: lagrange_coefficient(0, x, xs) - 1/8*(pi - 6*x)*(pi - 2*x)*(pi + 6*x)*x/pi^4 + 1/8*(pi + 6*x)*(pi - 2*x)*(pi - 6*x)*x/pi^4 """ numerator = lagrange_psi(x, xs)/(x - xs[k])