I'm guessing this is a typo which was not spotted because iter_test never gets called
mnist was being loaded in as float32, which was causing errors on my laptop where floatX=float64, implicitly casting fixes this
Merge branch 'master' of https://github.com/craffel/nntools