b525d3dec10fe015882057bda4be6f173adeb302,scipy/stats/_continuous_distns.py,,_lognorm_logpdf,#Any#Any#,2986
Before Change
def _lognorm_logpdf(x, s):
return -log(x)**2 / (2*s**2) + np.where(x == 0, 0, -log(s*x*sqrt(2*pi)))
class lognorm_gen(rv_continuous):
A lognormal continuous random variable.
After Change
def _lognorm_logpdf(x, s):
return _lazywhere(x != 0, (x, s),
lambda x, s: -log(x)**2 / (2*s**2) - log(s*x*sqrt(2*pi)),
-np.inf)
class lognorm_gen(rv_continuous):
A lognormal continuous random variable.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: scipy/scipy
Commit Name: b525d3dec10fe015882057bda4be6f173adeb302
Time: 2015-10-20
Author: evgeni@burovski.me
File Name: scipy/stats/_continuous_distns.py
Class Name:
Method Name: _lognorm_logpdf
Project Name: scipy/scipy
Commit Name: 3a8fec3c3d161051d73dda324ed7f92c7fe2ed9a
Time: 2014-07-23
Author: evgeni@burovski.me
File Name: scipy/stats/_continuous_distns.py
Class Name: genpareto_gen
Method Name: _argcheck
Project Name: scipy/scipy
Commit Name: 5ddb2a451aadc718e42ee9d2505058f57aa80165
Time: 2013-12-30
Author: ralf.gommers@googlemail.com
File Name: scipy/stats/_discrete_distns.py
Class Name: dlaplace_gen
Method Name: _cdf