[Scipy-svn] r2433 - trunk/Lib/sandbox/models
scipy-svn at scipy.org
scipy-svn at scipy.org
Sun Dec 17 19:29:12 EST 2006
Author: timl
Date: 2006-12-17 18:29:08 -0600 (Sun, 17 Dec 2006)
New Revision: 2433
Modified:
trunk/Lib/sandbox/models/cox.py
Log:
clean up FIXME
Modified: trunk/Lib/sandbox/models/cox.py
===================================================================
--- trunk/Lib/sandbox/models/cox.py 2006-12-18 00:26:07 UTC (rev 2432)
+++ trunk/Lib/sandbox/models/cox.py 2006-12-18 00:29:08 UTC (rev 2433)
@@ -154,12 +154,7 @@
raise NotImplementedError, 'Cox tie breaking method not implemented'
else:
raise NotImplementedError, 'tie breaking method not recognized'
- # FIXME: score is an int. it has no shape
- # is it that we shouldn't be using an int above
- # or that we shouldn't be looking at shape here
- if score.shape == ():
- score = N.array([score])
- return score
+ return = N.array([score])
def information(self, b, ties='breslow'):
More information about the Scipy-svn
mailing list