changeset 235:a70f2c973ea5

re-enabling old ArrayDataSet indexing
author James Bergstra <bergstrj@iro.umontreal.ca>
date Wed, 28 May 2008 14:09:19 -0400
parents 9504940ef5ef
children 584ad7c55876 3156a9976183
files dataset.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dataset.py	Tue May 27 15:59:24 2008 -0400
+++ b/dataset.py	Wed May 28 14:09:19 2008 -0400
@@ -987,7 +987,7 @@
         for fieldname, fieldcolumns in self.fields_columns.items():
             if type(fieldcolumns) is int:
                 assert fieldcolumns>=0 and fieldcolumns<data_array.shape[1]
-                if 0:
+                if 1:
                     #I changed this because it didn't make sense to me,
                     # and it made it more difficult to write my learner.
                     # If it breaks stuff, let's talk about it.