84f80cddc8f1e7ce8758ebc6e443f627f5e5b442,geomstats/special_orthogonal_group.py,SpecialOrthogonalGroup,__init__,#SpecialOrthogonalGroup#Any#Any#,37

Before Change


        if point_type is None:
            self.point_type = "vector" if n == 3 else "matrix"

        identity = gs.zeros(self.dimension)
        if self.point_type == "matrix":
            identity = gs.eye(n)

        LieGroup.__init__(self,

After Change



        LieGroup.__init__(self,
                          dimension=self.dimension,
                          identity=self.identity())
        EmbeddedManifold.__init__(self,
                                  dimension=self.dimension,
                                  embedding_manifold=GeneralLinearGroup(n=n))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: geomstats/geomstats
Commit Name: 84f80cddc8f1e7ce8758ebc6e443f627f5e5b442
Time: 2018-07-24
Author: ninamio78@gmail.com
File Name: geomstats/special_orthogonal_group.py
Class Name: SpecialOrthogonalGroup
Method Name: __init__


Project Name: mortendahl/tf-encrypted
Commit Name: f54c2b1361fb86f55a36064158c6baa658ffffb9
Time: 2019-06-26
Author: suriyaku@gmail.com
File Name: examples/mnist/run.py
Class Name: ModelOwner
Method Name: _build_training_graph


Project Name: analysiscenter/batchflow
Commit Name: f02b56207713275c749ff7c0d337c49bd3dffe53
Time: 2017-10-24
Author: rhudor@gmail.com
File Name: examples/simple_but_ugly/tf_models.py
Class Name: MyModel
Method Name: _build


Project Name: biocore/scikit-bio
Commit Name: 2fd6103e26a751b6b7b16c1cadbce01c3e418d26
Time: 2014-02-21
Author: jai.rideout@gmail.com
File Name: bipy/maths/stats/distance/anosim.py
Class Name: ANOSIM
Method Name: _anosim