f1f050609c34d59a710346ede68eef7c19c105a1,tests/test_manifold_positive_definite.py,TestMultiPositiveDefiniteManifold,test_dist,#TestMultiPositiveDefiniteManifold#,73

Before Change


        y = man.rand()

        // Compare to the implementation in manopt
        d = la.solve(x, y)
        for i in range(k):
            d[i] = sp.linalg.logm(d[i])

        np_testing.assert_almost_equal(man.dist(x, y), la.norm(d))

    def test_inner(self):

After Change


        np_testing.assert_almost_equal(man.dist(x, x), 0.)

        // Test symmetry
        np_testing.assert_almost_equal(man.dist(x, y), man.dist(y, x))
        
    def test_inner(self):
        man = self.man
        k = self.k
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pymanopt/pymanopt
Commit Name: f1f050609c34d59a710346ede68eef7c19c105a1
Time: 2019-04-04
Author: sylvain.chevallier@uvsq.fr
File Name: tests/test_manifold_positive_definite.py
Class Name: TestMultiPositiveDefiniteManifold
Method Name: test_dist


Project Name: scipy/scipy
Commit Name: 2344e4105a44fa929aa6fb82597c2ac81bef5171
Time: 2014-02-21
Author: pav@iki.fi
File Name: scipy/sparse/linalg/dsolve/tests/test_linsolve.py
Class Name: TestSplu
Method Name: test_spilu_smoketest


Project Name: fgnt/pb_bss
Commit Name: 5e763403e0b1b195465aadcb6e86bc60db272729
Time: 2019-08-06
Author: mail@lukas-drude.de
File Name: paderbox/speech_enhancement/beamformer.py
Class Name:
Method Name: get_lcmv_vector