0a25daf47631b50eba9e29a7b2ff5509a51dfea9,scipy/interpolate/fitpack2.py,InterpolatedUnivariateSpline,__init__,#InterpolatedUnivariateSpline#Any#Any#Any#Any#Any#Any#Any#,597

Before Change


                                      xe=bbox[1], s=0)
        self._reset_class()

        try:
            self.ext = _extrap_modes[ext]
        except KeyError:
            raise ValueError("Unknown extrapolation mode %s." % ext)


_fpchec_error_string = The input parameters have been rejected by fpchec. \
This means that at least one of the following conditions is violated:

1) k+1 <= n-k-1 <= m

After Change


    def __init__(self, x, y, w=None, bbox=[None]*2, k=3,
                 ext=0, check_finite=False):

        x, y, w, bbox, self.ext = self.validate_input(x, y, w, bbox, k, None,
                                            ext, check_finite)
        if not np.all(diff(x) > 0.0):
            raise ValueError("x must be strictly increasing")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

Instances


Project Name: scipy/scipy
Commit Name: 0a25daf47631b50eba9e29a7b2ff5509a51dfea9
Time: 2020-04-26
Author: asakai.amsl+github@gmail.com
File Name: scipy/interpolate/fitpack2.py
Class Name: InterpolatedUnivariateSpline
Method Name: __init__


Project Name: scipy/scipy
Commit Name: 0a25daf47631b50eba9e29a7b2ff5509a51dfea9
Time: 2020-04-26
Author: asakai.amsl+github@gmail.com
File Name: scipy/interpolate/fitpack2.py
Class Name: LSQUnivariateSpline
Method Name: __init__


Project Name: brian-team/brian2
Commit Name: bb0b34fe488fc125fcd8cbb367db92212ac988b3
Time: 2013-03-26
Author: marcel.stimberg@ens.fr
File Name: brian2/stateupdaters/base.py
Class Name: StateUpdateMethod
Method Name: determine_stateupdater