2126a7c3ef5517a3b887fdb3ab686b4f2f15e449,tests/test_special_euclidean_group.py,TestSpecialEuclideanGroupMethods,test_log_then_exp_left_with_angles_close_to_pi,#TestSpecialEuclideanGroupMethods#,957

Before Change


                    expected = self.group.regularize(point)
                    expected = helper.to_vector(expected)

                    inv_rot_expected = gs.zeros_like(expected)
                    inv_rot_expected[:, :3] = - expected[:, :3]
                    inv_rot_expected[:, 3:6] = expected[:, 3:6]
                    inv_rot_expected = helper.to_vector(inv_rot_expected)

                    self.assertTrue(gs.allclose(result, expected)
                                    or gs.allclose(result, inv_rot_expected),

After Change


                        axis=1)
                    inv_expected = helper.to_vector(inv_expected)

                    with self.session():
                        self.assertTrue(
                            gs.eval(gs.allclose(result, expected))
                            or gs.eval(gs.allclose(result, inv_expected)))

    def test_exp_then_log_left(self):
        
        Test that the riemannian left exponential and the
        riemannian left logarithm are inverse.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 12

Instances


Project Name: geomstats/geomstats
Commit Name: 2126a7c3ef5517a3b887fdb3ab686b4f2f15e449
Time: 2018-12-28
Author: ninamio78@gmail.com
File Name: tests/test_special_euclidean_group.py
Class Name: TestSpecialEuclideanGroupMethods
Method Name: test_log_then_exp_left_with_angles_close_to_pi


Project Name: geomstats/geomstats
Commit Name: 2126a7c3ef5517a3b887fdb3ab686b4f2f15e449
Time: 2018-12-28
Author: ninamio78@gmail.com
File Name: tests/test_special_euclidean_group.py
Class Name: TestSpecialEuclideanGroupMethods
Method Name: test_log_then_exp_left_with_angles_close_to_pi


Project Name: geomstats/geomstats
Commit Name: 2126a7c3ef5517a3b887fdb3ab686b4f2f15e449
Time: 2018-12-28
Author: ninamio78@gmail.com
File Name: tests/test_special_euclidean_group.py
Class Name: TestSpecialEuclideanGroupMethods
Method Name: test_log_then_exp_right_with_angles_close_to_pi


Project Name: geomstats/geomstats
Commit Name: 2126a7c3ef5517a3b887fdb3ab686b4f2f15e449
Time: 2018-12-28
Author: ninamio78@gmail.com
File Name: tests/test_special_euclidean_group.py
Class Name: TestSpecialEuclideanGroupMethods
Method Name: test_exp_then_log_left_with_angles_close_to_pi


Project Name: geomstats/geomstats
Commit Name: 2126a7c3ef5517a3b887fdb3ab686b4f2f15e449
Time: 2018-12-28
Author: ninamio78@gmail.com
File Name: tests/test_special_euclidean_group.py
Class Name: TestSpecialEuclideanGroupMethods
Method Name: test_exp_then_log_from_identity_right_with_angles_close_to_pi


Project Name: geomstats/geomstats
Commit Name: 2126a7c3ef5517a3b887fdb3ab686b4f2f15e449
Time: 2018-12-28
Author: ninamio78@gmail.com
File Name: tests/test_special_euclidean_group.py
Class Name: TestSpecialEuclideanGroupMethods
Method Name: test_exp_then_log_from_identity_left_with_angles_close_to_pi