]> gitweb.michael.orlitzky.com - sage.d.git/commitdiff
Fix a deprecated doctest.
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 4 Dec 2015 01:05:23 +0000 (20:05 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 4 Dec 2015 01:05:23 +0000 (20:05 -0500)
mjo/interpolation.py

index e32ed6d24712da31ff96bcfa6c3c53278abc112a..4be95e2463b7d4b1592a5f4e6cf86ba54e36da7f 100644 (file)
@@ -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')