Closed
Description
With version 1.12.1 the following script
from numpy import ma, __version__
print __version__
x = ma.array(1, mask=True)
print x[...],type(x[...])
produced
1.12.1
-- <class 'numpy.ma.core.MaskedConstant'>
With 1.13.0rc1 I get
1.13.0rc1
-- <class 'numpy.ma.core.MaskedArray'>
This means that x[...] is ma.masked
returns False
in 1.13, when it used to return True
.
So it appears that the behaviour of scalar masked arrays has changed. This is causing test failures in netcdf4-python.
Metadata
Metadata
Assignees
Labels
No labels