[Numpy-discussion] allclose() does not check shape of inputs

Robert Cimrman cimrman3 at ntc.zcu.cz
Fri Nov 13 05:54:51 EST 2009


Hi,

I think this is a bug:

In [16]: np.allclose([1.0, 1.0], [1.1], rtol=0.1, atol=0.0)
Out[16]: True

Shall I create a ticket?

r.



More information about the NumPy-Discussion mailing list