Skip to content

Commit

Permalink
fix bug in directed
Browse files Browse the repository at this point in the history
  • Loading branch information
loftusa committed May 20, 2021
1 parent 1e5b825 commit ab13228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graspologic/embed/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def _reduce_dim(self, A, directed=None):
if directed is not None:
directed_ = directed
else:
directed_ = is_almost_symmetric(A)
directed_ = not is_almost_symmetric(A)
if directed_:
self.latent_right_ = V.T @ np.diag(np.sqrt(D))
else:
Expand Down

0 comments on commit ab13228

Please sign in to comment.