Mercurial > pylearn
changeset 60:9165d86855ab
bugfix
author | Frederic Bastien <bastienf@iro.umontreal.ca> |
---|---|
date | Thu, 01 May 2008 16:26:34 -0400 |
parents | ac9aff8d5743 |
children | a8b70a9117ad |
files | dataset.py test_dataset.py |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
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): """
--- a/test_dataset.py Thu May 01 16:19:31 2008 -0400 +++ b/test_dataset.py Thu May 01 16:26:34 2008 -0400 @@ -76,7 +76,7 @@ pass for field in ds('x','z').fields(): pass - for field in ds.fields(field1,field2): + for field in ds.fields('x','y'): pass for field_examples in ds.fields(): for example_value in field_examples: