# HG changeset patch # User Frederic Bastien # Date 1209673594 14400 # Node ID 9165d86855ab8b5d065c2ad7d3e54b239e46a1f3 # Parent ac9aff8d574367d6b11688136d37dad38900f7d9 bugfix diff -r ac9aff8d5743 -r 9165d86855ab dataset.py --- 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 "(,,...)" 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): """ diff -r ac9aff8d5743 -r 9165d86855ab test_dataset.py --- 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: