Skip to content
Permalink
Browse files

flake8

  • Loading branch information
nguigs committed Jan 14, 2020
1 parent b35719b commit 514fc89f0ddf84726f92c5bde3bc1fd976065500
Showing with 2 additions and 1 deletion.
  1. +2 −1 geomstats/geometry/special_orthogonal_group.py
@@ -85,7 +85,8 @@ def belongs(self, point, point_type=None):
elif point_type == 'matrix':
point = gs.to_ndarray(point, to_ndim=3)
point_transpose = gs.transpose(point, axes=(0, 2, 1))
mask = gs.isclose(gs.matmul(point, point_transpose), gs.eye(self.n))
mask = gs.isclose(gs.matmul(point, point_transpose),
gs.eye(self.n))
mask = gs.all(mask, axis=(1, 2))

mask = gs.to_ndarray(mask, to_ndim=1)

0 comments on commit 514fc89

Please sign in to comment.
You can’t perform that action at this time.