# HG changeset patch # User James Bergstra # Date 1256251905 14400 # Node ID 2418dad0130716ea809accd3ccbcf5cbe4f60711 # Parent 4f7e0edee7d09728b4bb1a2c236ae94a8ae4e807 fixed typo in MNIST diff -r 4f7e0edee7d0 -r 2418dad01307 pylearn/dataset_ops/MNIST.py --- a/pylearn/dataset_ops/MNIST.py Thu Oct 22 18:51:20 2009 -0400 +++ b/pylearn/dataset_ops/MNIST.py Thu Oct 22 18:51:45 2009 -0400 @@ -102,7 +102,7 @@ x = x.reshape((28,28)) elif x.ndim == 2: if not rasterized: - x = x.reshape(x.shape[0], (28,28)) + x = x.reshape((x.shape[0], 28,28)) else: assert False, 'what happened?'