[Scipy-svn] r3285 - trunk/scipy/stats/models/family

scipy-svn@scip... scipy-svn@scip...
Wed Aug 29 14:43:49 CDT 2007


Author: jarrod.millman
Date: 2007-08-29 14:43:47 -0500 (Wed, 29 Aug 2007)
New Revision: 3285

Modified:
   trunk/scipy/stats/models/family/family.py
Log:
fix typo


Modified: trunk/scipy/stats/models/family/family.py
===================================================================
--- trunk/scipy/stats/models/family/family.py	2007-08-29 19:43:28 UTC (rev 3284)
+++ trunk/scipy/stats/models/family/family.py	2007-08-29 19:43:47 UTC (rev 3285)
@@ -18,11 +18,12 @@
     valid = [-N.inf, N.inf]
 
     tol = 1.0e-05
+    links = []
 
     def _setlink(self, link):
         self._link = link
         if hasattr(self, "links"):
-            if link not in links:
+            if link not in self.links:
                 raise ValueError, 'invalid link for family, should be in %s' % `self.links`
 
     def _getlink(self):



More information about the Scipy-svn mailing list