scipy/scipy — pull request #3071 by pv (2013-11-16 17:45:14+00:00)
Title: BUG: ndimage: use only normalized type_num in comparisons

Numpy type_num cannot be used in comparisons, since some of the values are equivalent, depending on the platform.