0131d72f0f7a5c13f00961aea054094b2b78f071,scipy/interpolate/fitpack.py,,splev,#Any#Any#Any#Any#,298

Before Change


        t, c, k = tck

        // fitpack interpolates along the last axis
        sh = tuple(range(c.ndim))
        c = c.transpose(sh[1:] + (0,))  // roll the first axis
        res = _impl.splev(x, (t, c, k), der, ext)
        return res
    else:

After Change



        // remap the out-of-bounds behavior
        try:
            extrapolate = {0: True, }[ext]
        except KeyError:
            raise ValueError("Extrapolation mode %s is not supported "
                             "by BSpline." % ext)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: scipy/scipy
Commit Name: 0131d72f0f7a5c13f00961aea054094b2b78f071
Time: 2016-10-12
Author: evgeny.burovskiy@gmail.com
File Name: scipy/interpolate/fitpack.py
Class Name:
Method Name: splev


Project Name: pymc-devs/pymc3
Commit Name: 47e4d85129686501658d16528c86eca3e3987c9c
Time: 2017-09-02
Author: maxim.v.kochurov@gmail.com
File Name: pymc3/variational/opvi.py
Class Name: GroupApprox
Method Name: _check_user_params


Project Name: codelucas/newspaper
Commit Name: 5d6cdbd53544d057a1cf344526ec70e0995b77d1
Time: 2014-12-17
Author: lucasyangpersonal@gmail.com
File Name: newspaper/nlp.py
Class Name:
Method Name: keywords