diff --git a/mathlib/umeyama.py b/mathlib/umeyama.py index 7c6b2d0..826a88f 100644 --- a/mathlib/umeyama.py +++ b/mathlib/umeyama.py @@ -57,7 +57,7 @@ def umeyama(src, dst, estimate_scale): T[:dim, :dim] = np.dot(U, np.dot(np.diag(d), V)) d[dim - 1] = s else: - T[:dim, :dim] = np.dot(U, np.dot(np.diag(d), V.T)) + T[:dim, :dim] = np.dot(U, np.dot(np.diag(d), V)) if estimate_scale: # Eq. (41) and (42).