numpy/numpy — pull request #3168 by juliantaylor (2013-03-26 18:47:29+00:00)
Title: fix undefined function and add integer divisions

Fix a undefined function and some floats which appear through division and are used as slice indices.
Loosely based on the patch in https://bugs.launchpad.net/ubuntu/+source/python-numpy/+bug/701549