Mercurial > pylearn
diff dataset.py @ 83:c0f211213a58
bugfix
author | Frederic Bastien <bastienf@iro.umontreal.ca> |
---|---|
date | Mon, 05 May 2008 11:14:28 -0400 |
parents | 158653a9bc7c |
children | 7b1f3ad3d60b |
line wrap: on
line diff
--- a/dataset.py Mon May 05 11:02:03 2008 -0400 +++ b/dataset.py Mon May 05 11:14:28 2008 -0400 @@ -135,8 +135,8 @@ @todo enforce/test that convention! """ - numpy_vstack = lambda fieldname,values: return numpy.vstack(values) - numpy_hstack = lambda fieldnames,values: return numpy.hstack(values) + numpy_vstack = lambda fieldname,values: numpy.vstack(values) + numpy_hstack = lambda fieldnames,values: numpy.hstack(values) def __init__(self,description=None,fieldtypes=None): if description is None: