diff dataset.py @ 60:9165d86855ab

bugfix
author Frederic Bastien <bastienf@iro.umontreal.ca>
date Thu, 01 May 2008 16:26:34 -0400
parents 1aabd2e2bb5f
children a8b70a9117ad
line wrap: on
line diff
--- a/dataset.py	Thu May 01 16:19:31 2008 -0400
+++ b/dataset.py	Thu May 01 16:26:34 2008 -0400
@@ -132,7 +132,7 @@
             # by default return "<DataSetType>(<SuperClass1>,<SuperClass2>,...)"
             description = type(self).__name__ + " ( " + join([x.__name__ for x in type(self).__bases__]) + " )"
         self.description=description
-        self.fieldtypes=field_types
+        self.fieldtypes=fieldtypes
     
     class MinibatchToSingleExampleIterator(object):
         """