3cc9e1cfd039c5986c9ab4e1dfe3fa2d627a7d0a,geomstats/special_orthogonal_group.py,SpecialOrthogonalGroup,belongs,#SpecialOrthogonalGroup#Any#,80

Before Change


        Check that a vector belongs to the
        special orthogonal group.
        
        return len(rot_vec) == self.dimension

    def regularize(self, rot_vec):
        

After Change


        Check that a vector belongs to the
        special orthogonal group.
        
        if len(rot_vec.shape) == 1:
            rot_vec = np.expand_dims(rot_vec, axis=0)
        return rot_vec.shape[1] == self.dimension

    def regularize(self, rot_vec):
        
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 10

Instances


Project Name: geomstats/geomstats
Commit Name: 3cc9e1cfd039c5986c9ab4e1dfe3fa2d627a7d0a
Time: 2018-02-02
Author: ninamio78@gmail.com
File Name: geomstats/special_orthogonal_group.py
Class Name: SpecialOrthogonalGroup
Method Name: belongs


Project Name: geomstats/geomstats
Commit Name: fb9275731bbc0bea7beb59e0d83c662537c27b8c
Time: 2018-01-31
Author: ninamio78@gmail.com
File Name: geomstats/special_euclidean_group.py
Class Name: SpecialEuclideanGroup
Method Name: belongs


Project Name: geomstats/geomstats
Commit Name: fb9275731bbc0bea7beb59e0d83c662537c27b8c
Time: 2018-01-31
Author: ninamio78@gmail.com
File Name: geomstats/special_orthogonal_group.py
Class Name: SpecialOrthogonalGroup
Method Name: belongs


Project Name: geomstats/geomstats
Commit Name: 3cc9e1cfd039c5986c9ab4e1dfe3fa2d627a7d0a
Time: 2018-02-02
Author: ninamio78@gmail.com
File Name: geomstats/special_euclidean_group.py
Class Name: SpecialEuclideanGroup
Method Name: belongs