765d35698b5dbf9091702874202627e6a1b20eb8,tests/test_special_orthogonal_group.py,TestSpecialOrthogonalGroupMethods,test_regularize,#TestSpecialOrthogonalGroupMethods#,91
Before Change
result = self.group.regularize(point)
expected = point
print(result)
print(expected)
self.assertTrue(np.allclose(result, expected), angle_type)
in_pi_2pi = ["with_angle_close_pi_hi",
"with_angle_in_pi_2pi",
After Change
def test_regularize(self):
point = self.points["with_angle_0"]
self.assertFalse(np.linalg.norm(point) != 0)
result = self.group.regularize(point)
expected = point
self.assertTrue(np.allclose(result, expected), "! angle 0 !")
less_than_pi = ["with_angle_close_0",
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: geomstats/geomstats
Commit Name: 765d35698b5dbf9091702874202627e6a1b20eb8
Time: 2018-01-25
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: 0f0356a2e8265f24fd89bf95a809b9a8bb93dede
Time: 2018-04-12
Author: ninamio78@gmail.com
File Name: geomstats/hyperbolic_space.py
Class Name: HyperbolicMetric
Method Name: exp_basis
Project Name: geomstats/geomstats
Commit Name: e4a937ea1d0e7dce309a1a3f19d91032aca62781
Time: 2018-04-12
Author: ninamio78@gmail.com
File Name: geomstats/hyperbolic_space.py
Class Name: HyperbolicMetric
Method Name: exp_basis