1e2fbe956e8ae71bd18ff200d134433c2ddf5258,geomstats/geometry/invariant_metric.py,InvariantMetric,inner_product_at_identity,#InvariantMetric#Any#Any#,51

Before Change


        inner_prod : array-like, shape=[n_samples, dimension]
            Inner-product of the two tangent vectors.
        
        assert self.group.default_point_type in ("vector", "matrix")

        if self.group.default_point_type == "vector":
            tangent_vec_a = gs.to_ndarray(tangent_vec_a, to_ndim=2)
            tangent_vec_b = gs.to_ndarray(tangent_vec_b, to_ndim=2)

After Change


        inner_prod : array-like, shape=[n_samples, dimension]
            Inner-product of the two tangent vectors.
        
        geomstats.error.check_parameter_accepted_values(
            self.group.default_point_type,
            "default_point_type",
            ["vector", "matrix"])

        if self.group.default_point_type == "vector":
            tangent_vec_a = gs.to_ndarray(tangent_vec_a, to_ndim=2)
            tangent_vec_b = gs.to_ndarray(tangent_vec_b, to_ndim=2)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 4

Instances


Project Name: geomstats/geomstats
Commit Name: 1e2fbe956e8ae71bd18ff200d134433c2ddf5258
Time: 2020-04-09
Author: ninamio78@gmail.com
File Name: geomstats/geometry/invariant_metric.py
Class Name: InvariantMetric
Method Name: inner_product_at_identity


Project Name: geomstats/geomstats
Commit Name: b60a711cb0d1fcecec9899bb179575ef78c07d00
Time: 2020-04-09
Author: ninamio78@gmail.com
File Name: geomstats/geometry/product_manifold.py
Class Name: ProductManifold
Method Name: regularize


Project Name: geomstats/geomstats
Commit Name: 1e2fbe956e8ae71bd18ff200d134433c2ddf5258
Time: 2020-04-09
Author: ninamio78@gmail.com
File Name: geomstats/geometry/invariant_metric.py
Class Name: InvariantMetric
Method Name: __init__


Project Name: geomstats/geomstats
Commit Name: b60a711cb0d1fcecec9899bb179575ef78c07d00
Time: 2020-04-09
Author: ninamio78@gmail.com
File Name: geomstats/geometry/product_manifold.py
Class Name: ProductManifold
Method Name: __init__


Project Name: geomstats/geomstats
Commit Name: b60a711cb0d1fcecec9899bb179575ef78c07d00
Time: 2020-04-09
Author: ninamio78@gmail.com
File Name: geomstats/geometry/product_manifold.py
Class Name: ProductManifold
Method Name: random_uniform