[NumPy-Tickets] [NumPy] #2241: Masked array shrink option has no effect

NumPy Trac numpy-tickets@scipy....
Fri Nov 2 09:33:10 CDT 2012


#2241: Masked array shrink option has no effect
------------------------+---------------------------------------------------
 Reporter:  Bartstra    |       Owner:  somebody   
     Type:  defect      |      Status:  new        
 Priority:  normal      |   Milestone:  Unscheduled
Component:  numpy.core  |     Version:  1.6.2      
 Keywords:              |  
------------------------+---------------------------------------------------
 Creating a masked array with shrink=False does not result in a full-sized
 mask:

 {{{
 x = ma.array(range(10),shrink=False)
 print 'mask size = ', np.array(x.mask).size
 }}}

 results in    mask size=1  instead of 10

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/2241>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list