[Scipy-tickets] [SciPy] #1647: BUG: stats: _argcheck function for the erlang distribution is misnamed.

SciPy Trac scipy-tickets@scipy....
Sat May 5 10:40:55 CDT 2012


#1647: BUG: stats: _argcheck function for the erlang distribution is misnamed.
------------------------------+---------------------------------------------
 Reporter:  warren.weckesser  |       Owner:  somebody    
     Type:  defect            |      Status:  needs_review
 Priority:  normal            |   Milestone:  Unscheduled 
Component:  scipy.stats       |     Version:  0.10.0      
 Keywords:                    |  
------------------------------+---------------------------------------------

Comment(by rgommers):

 I think I agree with the change Warren proposes.  If the fit method
 doesn't do what one wants because we don't have the needed optimization
 routine, it's better to have it fail than to return a result that may be
 considered incorrect.

 In this case no functionality is taken away really.

 It also looks to me like {{{erlang_gen}}} should inherit from
 {{{gamma_gen}}}, and duplicate methods should be taken away.  Note that
 they're not all duplicate, for example {{{_cdf}}} and {{{_ppf}}}.

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


More information about the Scipy-tickets mailing list