Mercurial > pylearn
diff dataset.py @ 125:7d8b3d6dd4e9
bugfix
author | Frederic Bastien <bastienf@iro.umontreal.ca> |
---|---|
date | Wed, 07 May 2008 16:22:28 -0400 |
parents | 8b520423d4ee |
children | ee5507af2c60 fa752c55aa09 |
line wrap: on
line diff
--- a/dataset.py Wed May 07 16:20:40 2008 -0400 +++ b/dataset.py Wed May 07 16:22:28 2008 -0400 @@ -767,7 +767,7 @@ # concatenate all the fields of the minibatches return reduce(LookupList.__add__,[iterator.next() for iterator in self.iterators]) - assert self.hasfields(fieldnames) + assert self.hasFields(*fieldnames) # find out which underlying datasets are necessary to service the required fields # and construct corresponding minibatch iterators if fieldnames: