Skip to content

Commit 9316ab8

Browse files
committed
bugfixing
1 parent 9a22999 commit 9316ab8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tpgmm/gmr/gmr.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ def _equation_5(self, translation: ndarray, rotation_matrix: ndarray):
9494
"ijkh,ihl->ijkl", sigma_hat_, rotation_matrix.swapaxes(-2, -1)
9595
)
9696

97-
return xi_hat, sigma_hat
97+
return xi_hat_, sigma_hat_
9898

99-
def _equation_6(self, sigma_hat: ndarray, xi_hat: ndarray):
99+
def _equation_6(self, xi_hat_: ndarray, sigma_hat_: ndarray):
100100
sigma_hat_inv = np.linalg.inv(sigma_hat_)
101101
# shape: (num_components, num_features, num_features)
102102
sigma_hat = np.linalg.inv(np.sum(sigma_hat_inv, axis=0))

0 commit comments

Comments
 (0)