e7643f6cf469b958d7045893a3961c957363f6e2,scipy/stats/_continuous_distns.py,frechet_r_gen,_logpdf,#frechet_r_gen#Any#Any#,1537

Before Change


        return c*pow(x, c-1)*exp(-pow(x, c))

    def _logpdf(self, x, c):
        return log(c) + (c-1)*log(x) - pow(x, c)

    def _cdf(self, x, c):
        return -special.expm1(-pow(x, c))

After Change


        return c*pow(x, c-1)*exp(-pow(x, c))

    def _logpdf(self, x, c):
        return log(c) + special.xlogy(c - 1, x) - pow(x, c)

    def _cdf(self, x, c):
        return -special.expm1(-pow(x, c))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


Project Name: scipy/scipy
Commit Name: e7643f6cf469b958d7045893a3961c957363f6e2
Time: 2016-06-10
Author: argriffi@ncsu.edu
File Name: scipy/stats/_continuous_distns.py
Class Name: frechet_r_gen
Method Name: _logpdf


Project Name: scipy/scipy
Commit Name: fe01bc442e70c4fc52dd9cae5151360816dda372
Time: 2014-04-19
Author: warren.weckesser@gmail.com
File Name: scipy/stats/_continuous_distns.py
Class Name: exponweib_gen
Method Name: _logpdf


Project Name: scipy/scipy
Commit Name: 0a04cf71a19c846191e894ec415b07434ba1e59e
Time: 2014-09-17
Author: warren.weckesser@gmail.com
File Name: scipy/stats/_continuous_distns.py
Class Name: exponpow_gen
Method Name: _logpdf


Project Name: scipy/scipy
Commit Name: be16da38ca3d6f398d966b18e8c59392813c1b65
Time: 2014-09-16
Author: warren.weckesser@gmail.com
File Name: scipy/stats/_continuous_distns.py
Class Name: powerlaw_gen
Method Name: _logpdf