[Numpy-discussion] Unfortunate user experience with max()

Robert Kern robert.kern at gmail.com
Wed May 16 21:57:37 EDT 2007


Anne Archibald wrote:
> On 16/05/07, Alan G Isaac <aisaac at american.edu> wrote:
>> On Wed, 16 May 2007, Anne Archibald apparently wrote:
>>>>>> numpy.max(-1.3,2,7)
                       ^
                      typo
>>> -1.3
>> Is that new behavior?
>> I get a TypeError on the last argument.
>> (As expected.)
> For which version of numpy?
> 
> In [2]: numpy.max(-1.3,2.7)
> Out[2]: -1.3

Ah, you had a typo in your original message, conveniently labeled above.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco



More information about the NumPy-Discussion mailing list