c49716c44cf9fda9b8962e94ce70a794f446ab3e,scipy/stats/_continuous_distns.py,,,#,4255

Before Change


    def _entropy(self, b):
        eB = exp(b)
        return log(eB-1)+(1+eB*(b-1.0))/(1.0-eB)
truncexpon = truncexpon_gen(a=0.0, name="truncexpon")


class truncnorm_gen(rv_continuous):
    A truncated normal continuous random variable.

After Change



    def _entropy(self, c):
        return 0.5-log(2)
triang = triang_gen(a=0.0, b=1.0, name="triang")


class truncexpon_gen(rv_continuous):
    A truncated exponential continuous random variable.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


Project Name: scipy/scipy
Commit Name: c49716c44cf9fda9b8962e94ce70a794f446ab3e
Time: 2016-01-10
Author: daniel.bunting14@imperial.ic.ac.uk
File Name: scipy/stats/_continuous_distns.py
Class Name:
Method Name:


Project Name: scipy/scipy
Commit Name: dd61b6d5ff3efefbbf3686fcfe6d5cc619d9e24b
Time: 2016-04-03
Author: andyfaff@gmail.com
File Name: scipy/stats/_continuous_distns.py
Class Name:
Method Name:


Project Name: scipy/scipy
Commit Name: 3453214d3562be6273f02ea8b24156515c96f4d6
Time: 2015-02-20
Author: alexander.conley@colorado.edu
File Name: scipy/stats/_continuous_distns.py
Class Name:
Method Name:


Project Name: scipy/scipy
Commit Name: da9ad1ea09dac880289d6f7325c98d285ec7fb8e
Time: 2016-01-08
Author: manitejanmt@gmail.com
File Name: scipy/stats/_continuous_distns.py
Class Name:
Method Name: