[NumPy-Tickets] [NumPy] #919: Incorrect printing some complex complex arrays containing nans.

NumPy Trac numpy-tickets@scipy....
Tue Mar 29 18:00:32 CDT 2011


#919: Incorrect printing some complex complex arrays containing nans.
---------------------+------------------------------------------------------
 Reporter:  charris  |       Owner:  cdavid     
     Type:  defect   |      Status:  accepted   
 Priority:  high     |   Milestone:  Unscheduled
Component:  Other    |     Version:  devel      
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by charris):

 Scalars and zero dimensional arrays follow a different code path than 1d
 and up arrays and, IIRC, are tested by the tests added with the new
 __format__ method. The arrays and scalars should probably have a common
 printing format and we need to decide what it should be. The nanj is
 traditional, but nan*1j would work for as a cut and paste value if nan has
 been imported, so has that going for it.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/919#comment:8>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list