Tue, 14 Jul 2009 14:45:11 -0400, Pierre GM kirjoitti: > Consider the following code: > >>> a = np.array(zip(np.arange(3)),dtype=[('a',float)]) np.isfinite(a) > NotImplemented > > That is, when the input is a structured array, np.isfinite returns an > object of type NotImplementedType. I would have expected it to raise a > NotImplementedError exception. > > Can anybody cast some light on this issue ? Thanks a lot in advance
Seems like a bug. As I understand, NotImplemented is intended to be returned only from __lt__ etc. comparison methods. -- Pauli Virtanen _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion