[Scipy-tickets] [SciPy] #1661: scipy.stats.mstats.kurtosistest crashes on 1d input

SciPy Trac scipy-tickets@scipy....
Thu Jul 26 12:19:00 CDT 2012


#1661: scipy.stats.mstats.kurtosistest crashes on 1d input
-------------------------+--------------------------------------------------
 Reporter:  dougal       |       Owner:  somebody   
     Type:  defect       |      Status:  new        
 Priority:  normal       |   Milestone:  Unscheduled
Component:  scipy.stats  |     Version:  0.10.0     
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by bdieseldorff):

 * cc: bdieseldorff@… (added)


Comment:

 After the fix suggested by dougal, the line that reads
     denom[denom < 0] = masked
 also needs to be changed. In particular, it should be skipped entirely if
 you have a single float value instead of an array (or maybe give a warning
 if the only value would get masked?).

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1661#comment:1>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list