a78844db179f30f4c5b0b2d5f472682eee680896,scipy/interpolate/tests/test_polyint.py,,,#,303
Before Change
assert_almost_equal(P.derivatives(self.test_xs,2),piecewise_polynomial_interpolate(self.xi,self.yi,self.test_xs,der=[0,1]))
if __name__=="__main__":
run_module_suite()
After Change
yi, y = np.broadcast_arrays(yi, y[1])
assert_allclose(yi, y)
SHAPES = [(), (0,), (1,), (3,2,5)]
def test_shapes():
for ip in [KroghInterpolator, BarycentricInterpolator, pchip]:
for s1 in SHAPES:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances Project Name: scipy/scipy
Commit Name: a78844db179f30f4c5b0b2d5f472682eee680896
Time: 2012-10-06
Author: pav@iki.fi
File Name: scipy/interpolate/tests/test_polyint.py
Class Name:
Method Name:
Project Name: scikit-image/scikit-image
Commit Name: d09670f5486b825834dbf060754a3344ce26e735
Time: 2017-05-29
Author: nelzas@gmail.com
File Name: skimage/util/tests/test_dtype.py
Class Name:
Method Name:
Project Name: scikit-image/scikit-image
Commit Name: d0f2bac3ffc6f136f52bc67837d2036e94032061
Time: 2017-05-26
Author: nelzas@gmail.com
File Name: skimage/transform/tests/test_radon_transform.py
Class Name:
Method Name: