[NumPy-Tickets] [NumPy] #1773: corrcoef warnings

NumPy Trac numpy-tickets@scipy....
Sat Apr 2 05:16:39 CDT 2011


#1773: corrcoef warnings
-------------------------+--------------------------------------------------
  Reporter:  senyai      |       Owner:  somebody
      Type:  defect      |      Status:  closed  
  Priority:  low         |   Milestone:  1.6.0   
 Component:  numpy.core  |     Version:  1.5.1   
Resolution:  fixed       |    Keywords:  corrcoef
-------------------------+--------------------------------------------------
Changes (by rgommers):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  Unscheduled => 1.6.0


Comment:

 Not only should it not give warnings, the return value doesn't make sense.
 Why return 1 for empty input? Or nan?

 Fixed in commit:1dcf0c9 and commit:b22fa6a

 Empty in gives empty out.

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


More information about the NumPy-Tickets mailing list