Skip to content

Commit

Permalink
BUG fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RichieHakim committed Apr 13, 2024
1 parent 80c4f97 commit f804e97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bnpm/similarity.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ def orthogonalize_matrix_nearest(X: Union[np.ndarray, torch.Tensor], center=True

Q = qr(X)[0]
w, scale = op(Q, X)
return w @ scale
return Q @ w


@njit
Expand Down

0 comments on commit f804e97

Please sign in to comment.