From 37a881b845ebe285b70969db3636a250e64138ca Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Thu, 3 Dec 2015 20:05:23 -0500 Subject: [PATCH] Fix a deprecated doctest. --- mjo/interpolation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mjo/interpolation.py b/mjo/interpolation.py index e32ed6d..4be95e2 100644 --- a/mjo/interpolation.py +++ b/mjo/interpolation.py @@ -183,7 +183,7 @@ def divided_difference(xs, ys): We try something entirely symbolic:: - sage: f = function('f', x) + sage: f = function('f')(x) sage: divided_difference([x], [f(x=x)]) f(x) sage: x1,x2 = SR.var('x1,x2') -- 2.44.2