]> gitweb.michael.orlitzky.com - sage.d.git/commitdiff
Replace the load() call in interpolation.py with an import, which works in the daytime.
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 26 Oct 2012 15:13:16 +0000 (11:13 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 26 Oct 2012 15:13:16 +0000 (11:13 -0400)
mjo/interpolation.py

index 747c680da2f73c777c2f86cf4f20e4cb4300b3a1..4cb58740c8d2b4611bb4e4ec4ebc6b1e8bd8f47d 100644 (file)
@@ -1,5 +1,5 @@
 from sage.all import *
-load('~/.sage/init.sage')
+from misc import product
 
 def lagrange_coefficient(k, x, xs):
     """