lisa-lab/pylearn2 — pull request #988 by SuperElectric (2014-06-16 17:25:37+00:00)
Title: removed special-casing of batch_size == 1 in various places, though not all

A quick fix, since this has caused problems before. I didn't add the special-casing, so not sure yet if this will break tests.

Left one special-case intact, since I wasn't sure what it did. See comment on line 1647.