[Numpy-discussion] [SciPy-dev] SciPy Sprint results
Stefan van der Walt
Fri Dec 21 03:23:53 CST 2007
On Fri, Dec 21, 2007 at 10:43:28AM +0200, Stefan van der Walt wrote:
> On Thu, Dec 20, 2007 at 05:24:44PM -0600, Travis E. Oliphant wrote:
> > > * bool(x) raises a ValueError, as it does for ndarrays.
> > >
> > What does bool(x) raise for numpy.core.ma.
Sorry, I realise you were talking about the old numpy.core.ma:
z = N.core.ma.masked_array([True,False,True])
bool(z) == True
More information about the Numpy-discussion