From 19c36b0c14dbea3a45ef00e8d28748e1f002cdf7 Mon Sep 17 00:00:00 2001
From: Christian Faber <chris-faber@gmx.de>
Date: Fri, 18 Oct 2024 18:34:19 +0200
Subject: [PATCH] latex

---
 src/BioHelpers_FABER/rmsd.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/BioHelpers_FABER/rmsd.py b/src/BioHelpers_FABER/rmsd.py
index 02eee6e..258dc4f 100644
--- a/src/BioHelpers_FABER/rmsd.py
+++ b/src/BioHelpers_FABER/rmsd.py
@@ -102,7 +102,7 @@ def rmsd_from_rot_tran(
     """Calculate an RMSD like value for a given set of vectors x and y with a given rotation matrix and translation vector
     Mathematical formula:
 
-    .. math:: \mathrm{RMSD} = \\frac{1}{M} \sum_{k=1..M} |\mathscr{U}\mathbf{x} + \mathbf{r} - \mathbf{y}|^2
+    .. math:: \mathrm{RMSD} = \\frac{1}{M} \sum_{k=1..M} |\mathscr{U}\mathbf{x}^k + \mathbf{r} - \mathbf{y}^k|^2
 
     **Important Note:** The translation vector differs from Kabsch algorithm, there you translate befor rotating. In Coutsias paper it is the otherway round.
 
-- 
GitLab