changeset 271:38e7d90a1218

code cleanup
author Frederic Bastien <bastienf@iro.umontreal.ca>
date Tue, 03 Jun 2008 16:13:38 -0400
parents 1cafd495098c
children 6226ebafefc3
files dataset.py
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dataset.py	Tue Jun 03 16:11:59 2008 -0400
+++ b/dataset.py	Tue Jun 03 16:13:38 2008 -0400
@@ -1052,7 +1052,6 @@
                 # store the resulting minibatch in a lookup-list of values
                 self.minibatch = LookupList(fieldnames,[0]*len(fieldnames))
                 self.dataset=dataset
-                assert 1<=len(dataset.data)
                 self.current=0
                 self.columns = [self.dataset.fields_columns[f] 
                                 for f in self.minibatch._names]