lisa-lab/pylearn2 — pull request #460 by bbudescu (2013-11-13 14:32:23+00:00)
Title: msvc9 compatibility

note: the explicit cast from int to double is required for msvc10 too

see https://groups.google.com/forum/#!topic/pylearn-dev/UeT9IbRmIeY for details