eef445b145a6faf7df424b9380cee5482cd98d6d,scipy/spatial/tests/test_distance.py,TestPdist,test_pdist_chebychev_iris_float32,#TestPdist#,820

Before Change


        X = np.float32(eo["iris"])
        Y_right = eo["pdist-chebychev-iris"]
        Y_test1 = pdist(X, "chebychev")
        if verbose > 2:
            print("chebychev-iris", np.abs(Y_test1 - Y_right).max())
        self.assertTrue(within_tol(Y_test1, Y_right, eps))

    def test_pdist_chebychev_iris_nonC(self):
        eps = 1e-15

After Change


        X = np.float32(eo["iris"])
        Y_right = eo["pdist-chebychev-iris"]
        Y_test1 = pdist(X, "chebychev")
        _assert_within_tol(Y_test1, Y_right, eps, verbose > 2)

    def test_pdist_chebychev_iris_nonC(self):
        eps = 1e-15
        X = eo["iris"]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 7

Instances


Project Name: scipy/scipy
Commit Name: eef445b145a6faf7df424b9380cee5482cd98d6d
Time: 2014-12-29
Author: argriffi@ncsu.edu
File Name: scipy/spatial/tests/test_distance.py
Class Name: TestPdist
Method Name: test_pdist_chebychev_iris_float32


Project Name: scipy/scipy
Commit Name: eef445b145a6faf7df424b9380cee5482cd98d6d
Time: 2014-12-29
Author: argriffi@ncsu.edu
File Name: scipy/spatial/tests/test_distance.py
Class Name: TestPdist
Method Name: test_pdist_chebychev_random_float32


Project Name: scipy/scipy
Commit Name: eef445b145a6faf7df424b9380cee5482cd98d6d
Time: 2014-12-29
Author: argriffi@ncsu.edu
File Name: scipy/spatial/tests/test_distance.py
Class Name: TestPdist
Method Name: test_pdist_correlation_iris_float32


Project Name: scipy/scipy
Commit Name: eef445b145a6faf7df424b9380cee5482cd98d6d
Time: 2014-12-29
Author: argriffi@ncsu.edu
File Name: scipy/spatial/tests/test_distance.py
Class Name: TestPdist
Method Name: test_pdist_cityblock_iris_float32


Project Name: scipy/scipy
Commit Name: eef445b145a6faf7df424b9380cee5482cd98d6d
Time: 2014-12-29
Author: argriffi@ncsu.edu
File Name: scipy/spatial/tests/test_distance.py
Class Name: TestPdist
Method Name: test_pdist_minkowski_5_8_iris_float32