From 53e3c4443a04e7f86691cdc894164f734068a8bf Mon Sep 17 00:00:00 2001
From: Niklaus Johner <nij2003@med.cornell.edu>
Date: Thu, 27 Mar 2014 17:41:58 -0400
Subject: [PATCH] Improved function description.

---
 modules/mol/alg/pymod/structure_analysis.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/mol/alg/pymod/structure_analysis.py b/modules/mol/alg/pymod/structure_analysis.py
index 7cb7644d4..b0ce1dcbf 100644
--- a/modules/mol/alg/pymod/structure_analysis.py
+++ b/modules/mol/alg/pymod/structure_analysis.py
@@ -135,7 +135,7 @@ def CalculateDistanceDifferenceMatrix(sele1,sele2):
   This function calculates the pairwise distance differences between two EntityViews.
   The two EntityViews should have the same number of atoms
   It returns an NxN DistanceDifferenceMatrix M (where N is the number of atoms in sele1)
-  where M[i,j]=(sele2.atoms[i].pos-sele2.atoms[j].pos)-(sele1.atoms[i].pos-sele1.atoms[j].pos)
+  where M[i,j]=|sele2.atoms[i].pos-sele2.atoms[j].pos|-|sele1.atoms[i].pos-sele1.atoms[j].pos|
   """
   try:import numpy as npy
   except ImportError:
-- 
GitLab