# HG changeset patch # User Frederic Bastien # Date 1210096656 14400 # Node ID a8da709eb6a9c9d9cb9de027f24b5acf867c1847 # Parent 7186e4f502d1b684f2b86b2451772a36a3b2e8f8 in ArrayDataSet.__init__ if a columns is an index, we change it to be a list that containt only this index. This way, we remove the special case where the columns is an index for all subsequent call. This was possing trouble with numpy.vstack() called by MinibatchWrapAroundIterator.next diff -r 7186e4f502d1 -r a8da709eb6a9 dataset.py --- a/dataset.py Tue May 06 13:50:54 2008 -0400 +++ b/dataset.py Tue May 06 13:57:36 2008 -0400 @@ -926,6 +926,7 @@ for fieldname, fieldcolumns in self.fields_columns.items(): if type(fieldcolumns) is int: assert fieldcolumns>=0 and fieldcolumns