b4cbde4ef4fc79ecc215815732abf03d1a4936ed,geomstats/geometry/product_manifold.py,ProductManifold,regularize,#ProductManifold#Any#Any#,92

Before Change


            point_type = self.default_point_type
        assert point_type in ["vector", "matrix"]

        regularized_point = [
            manifold_i.regularize(point_i)
            for manifold_i, point_i in zip(self.manifolds, point)]

        // TODO(nina): Put this in a decorator
        if point_type == "vector":
            regularized_point = gs.hstack(regularized_point)

After Change


            point_type = self.default_point_type
        assert point_type in ["vector", "matrix"]

        regularize_points = [self.manifold[i].regularize(point[i])
                             for i in range(self.n_manifolds)]

        // TODO(nina): Put this in a decorator
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: geomstats/geomstats
Commit Name: b4cbde4ef4fc79ecc215815732abf03d1a4936ed
Time: 2020-02-17
Author: yann.cabanes@u-bordeaux.fr
File Name: geomstats/geometry/product_manifold.py
Class Name: ProductManifold
Method Name: regularize


Project Name: geomstats/geomstats
Commit Name: aba65f959fb114e67103a061e92ab5596c557d3d
Time: 2018-12-27
Author: ninamio78@gmail.com
File Name: geomstats/lie_group.py
Class Name: LieGroup
Method Name: group_exp


Project Name: geomstats/geomstats
Commit Name: c498379796b9e7f066ee96efbdff5656f4f79db9
Time: 2020-04-13
Author: ninamio78@gmail.com
File Name: geomstats/geometry/lie_group.py
Class Name: LieGroup
Method Name: exp