[Scipy-svn] r5094 - in trunk/scipy/interpolate: . tests

scipy-svn at scipy.org scipy-svn at scipy.org
Thu Nov 13 16:23:36 EST 2008


Author: ptvirtan
Date: 2008-11-13 15:23:23 -0600 (Thu, 13 Nov 2008)
New Revision: 5094

Modified:
   trunk/scipy/interpolate/fitpack2.py
   trunk/scipy/interpolate/tests/test_fitpack.py
Log:
interpolate: correction -- the bugfix in 5093 was for #731, not for #660

Modified: trunk/scipy/interpolate/fitpack2.py
===================================================================
--- trunk/scipy/interpolate/fitpack2.py	2008-11-13 21:20:50 UTC (rev 5093)
+++ trunk/scipy/interpolate/fitpack2.py	2008-11-13 21:23:23 UTC (rev 5094)
@@ -122,7 +122,7 @@
                               LSQUnivariateSpline):
             self.__class__ = cls
         else:
-            # It's an unknown subclass -- don't change class. cf. #660
+            # It's an unknown subclass -- don't change class. cf. #731
             pass
 
     def _reset_nest(self, data, nest=None):

Modified: trunk/scipy/interpolate/tests/test_fitpack.py
===================================================================
--- trunk/scipy/interpolate/tests/test_fitpack.py	2008-11-13 21:20:50 UTC (rev 5093)
+++ trunk/scipy/interpolate/tests/test_fitpack.py	2008-11-13 21:23:23 UTC (rev 5094)
@@ -37,6 +37,7 @@
         assert_array_almost_equal(lut([1,1.5,2]),[0,1,2])
 
     def test_subclassing(self):
+        # See #731
         
         class ZeroSpline(UnivariateSpline):
             def __call__(self, x):




More information about the Scipy-svn mailing list