[Scipy-tickets] [SciPy] #1475: Bug in `stats.norm_rvs` function

SciPy Trac scipy-tickets@scipy....
Fri Jul 8 17:12:03 CDT 2011

#1475: Bug in `stats.norm_rvs` function
 Reporter:  rosalia      |       Owner:  somebody   
     Type:  defect       |      Status:  new        
 Priority:  normal       |   Milestone:  Unscheduled
Component:  scipy.stats  |     Version:  0.9.0      
 Keywords:               |  

Comment(by jseabold):

 The code is designed to take care of this. The t-statistic is a nan, then
 you have

 t = np.where((d==0)*(svar==0), 1.0, t) #define t=0/0 = 0, identical means

 However, it doesn't do what the note says. 1.0 should be 0.0, the prob
 should be 1...

 In any case, this doesn't have anything to do with stats.norm_rvs.

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