From 94fb4e7b5ff5590a37043f65ed0acf7117ba3b35 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Fri, 24 Oct 2014 11:21:39 -0400 Subject: [PATCH] Fix a (harmless) doctest failure in mjo.interpolation. --- mjo/interpolation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) -- 2.44.2