diff dataset.py @ 62:23bf2c9eb7b3

bugfix
author Frederic Bastien <bastienf@iro.umontreal.ca>
date Fri, 02 May 2008 10:14:01 -0400
parents a8b70a9117ad
children 863da25a60f1
line wrap: on
line diff
--- a/dataset.py	Fri May 02 09:55:38 2008 -0400
+++ b/dataset.py	Fri May 02 10:14:01 2008 -0400
@@ -634,7 +634,7 @@
                                     [field[self.next_example:upper]
                                      for field in self.ds._fields])
                 self.next_example+=minibatch_size
-                return DataSetFields(MinibatchDataSet(minibatch),fieldnames)
+                return DataSetFields(MinibatchDataSet(minibatch),*fieldnames)
 
         return Iterator(self)