> 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? 

On Thu, 3 Jan 2008, Alan G Isaac apparently wrote:
> Sure, but might not one expect a ValueError due to 
> shape mismatch?  (Doesn't allclose usually use 
> normal broadcasting rules?)

Ooops, forgot that was a "scalar", so it was "normal":

>>> a*b
array([], dtype=int32)

Cheers,
Alan Isaac




_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to