aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--msd/src/msd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/msd/src/msd.h b/msd/src/msd.h
index b0b03c9..b1912a9 100644
--- a/msd/src/msd.h
+++ b/msd/src/msd.h
@@ -311,7 +311,7 @@ public:
else { // Lmin < L < Lmax
// F[n] = k1 (L[n] - L[0])/L[n] + D1 (L[n] - L[n-1])/L[n]
if (link_type == 3) { // tabLink
- t_float k_temp = distance;
+ t_float k_temp = distance-longueur;
if (k_tabname) {
k_temp = interp_buf(distance,k_tab,l_tab);
}