836d807557d140b2634174733c6fb55f691b6d8c,tests/test_special_orthogonal_group.py,TestSpecialOrthogonalGroupMethods,test_skew_matrix_and_vector,#TestSpecialOrthogonalGroupMethods#,167

Before Change


        point_type = "vector"
        for n in self.n_seq:
            group = self.so[n]
            rot_vec = group.random_uniform(
                point_type=point_type)

            skew_mat = group.skew_matrix_from_vector(rot_vec)
            result = group.vector_from_skew_matrix(skew_mat)
            expected = rot_vec

            self.assertTrue(gs.allclose(result, expected),
                            "result = {};"
                            " expected = {}.".format(result,

After Change



            skew_mat = group.skew_matrix_from_vector(rot_vec)
            result = group.vector_from_skew_matrix(skew_mat)
            expected = helper.to_vector(rot_vec)

            self.assertAllClose(result, expected)

    @geomstats.tests.np_only
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: geomstats/geomstats
Commit Name: 836d807557d140b2634174733c6fb55f691b6d8c
Time: 2018-12-13
Author: ninamio78@gmail.com
File Name: tests/test_special_orthogonal_group.py
Class Name: TestSpecialOrthogonalGroupMethods
Method Name: test_skew_matrix_and_vector


Project Name: geomstats/geomstats
Commit Name: d4c0d404adac1a135f1aa2114d156fb8b3395265
Time: 2018-12-26
Author: ninamio78@gmail.com
File Name: tests/test_special_orthogonal_group.py
Class Name: TestSpecialOrthogonalGroupMethods
Method Name: test_regularize


Project Name: geomstats/geomstats
Commit Name: 626523c8e86f35f215e482bb49bd6b1359b4a0e0
Time: 2018-12-12
Author: ninamio78@gmail.com
File Name: tests/test_special_orthogonal_group.py
Class Name: TestSpecialOrthogonalGroupMethods
Method Name: test_skew_matrix_and_vector