[Numpy-discussion] unexpected behavior with allclose( scalar, empty array)

Alan G Isaac aisaac@american....
Thu Jan 3 15:20:38 CST 2008

On Thu, 3 Jan 2008, Charles R Harris apparently wrote:
> Isn't it trivially true that all elements of an empty 
> array are close to any number? 

Sure, but might not one expect a ValueError due to
shape mismatch?  (Doesn't allclose usually use
normal broadcasting rules?)

Alan Isaac

More information about the Numpy-discussion mailing list