[Numpy-discussion] Invalid value encoutered : how to prevent numpy.where to do this?