From f804e973c6e9803d4f23c5f0b48cd364cdc9a9bf Mon Sep 17 00:00:00 2001 From: RichieHakim Date: Fri, 12 Apr 2024 22:25:07 -0400 Subject: [PATCH] BUG fix --- bnpm/similarity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bnpm/similarity.py b/bnpm/similarity.py index be8b152..09d45c5 100644 --- a/bnpm/similarity.py +++ b/bnpm/similarity.py @@ -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