[Scipy-tickets] [SciPy] #1161: nanstd chokes on negative axis

SciPy Trac scipy-tickets@scipy....
Fri Apr 23 13:23:13 CDT 2010


#1161: nanstd chokes on negative axis
-------------------------+--------------------------------------------------
 Reporter:  kwgoodman    |       Owner:  somebody    
     Type:  defect       |      Status:  needs_review
 Priority:  normal       |   Milestone:  0.8.0       
Component:  scipy.stats  |     Version:  0.7.0       
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by josefpktd):

  * status:  new => needs_review


Comment:

 I think the entire "Kludge" can be replaced by

 {{{
     d = (x-np.expand_dims(m1, axis))**2.0
 }}}

 tested only on 2d example not with test suite

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1161#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