[Numpy-discussion] np.min(np.inf,1000) == np.inf
Tue Sep 23 16:05:11 CDT 2008
On Tue, Sep 23, 2008 at 15:34, joep <firstname.lastname@example.org> wrote:
> I just fell over this:
> Is this known behavior?
It is known that that's not the API of numpy.min(). It probably should
raise an exception since 1000 is not a valid axis for a rank-0 array
(which is what the first argument gets turned into under the covers).
"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