nipy/nipy — pull request #243 by matthew-brett (2012-12-19 18:13:55+00:00)
Title: BF: strange error when passing bool as mask type

np.bool_ as very reasonable mask input type caused an error for
np.nan_to_num. Only run nan_to_num if floating point mask type.