ba7704839b60556a8d9426d437afc681f814f8da,tests/test_hyperbolic_space.py,TestHyperbolicSpaceMethods,test_intrinsic_and_extrinsic_coords,#TestHyperbolicSpaceMethods#,46

Before Change



        gs.testing.assert_allclose(result, expected)

        point_ext = self.space.random_uniform()
        point_int = self.space.extrinsic_to_intrinsic_coords(point_ext)
        result = self.space.intrinsic_to_extrinsic_coords(point_int)
        expected = point_ext
        expected = helper.to_vector(expected)

After Change



        gs.testing.assert_allclose(result, expected)

        point_ext = gs.array(1. / (gs.sqrt(6.)) * [1., 0., 0., 1., 2.])
        print(point_ext)
        point_int = self.space.extrinsic_to_intrinsic_coords(point_ext)
        print(point_int)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: geomstats/geomstats
Commit Name: ba7704839b60556a8d9426d437afc681f814f8da
Time: 2018-09-18
Author: ninamio78@gmail.com
File Name: tests/test_hyperbolic_space.py
Class Name: TestHyperbolicSpaceMethods
Method Name: test_intrinsic_and_extrinsic_coords


Project Name: geomstats/geomstats
Commit Name: ba7704839b60556a8d9426d437afc681f814f8da
Time: 2018-09-18
Author: ninamio78@gmail.com
File Name: tests/test_hypersphere.py
Class Name: TestHypersphereMethods
Method Name: test_intrinsic_and_extrinsic_coords


Project Name: geomstats/geomstats
Commit Name: 2dfa1664abf933b6188f325b127e9687d057d5da
Time: 2018-12-12
Author: ninamio78@gmail.com
File Name: tests/test_euclidean_space.py
Class Name: TestEuclideanSpaceMethods
Method Name: test_dist_vectorization