aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorN.N. <nimon@users.sourceforge.net>2010-09-10 08:58:19 +0000
committerN.N. <nimon@users.sourceforge.net>2010-09-10 08:58:19 +0000
commitfaaaf8b49969478400a385a12e9f1bbb6a9bf247 (patch)
tree9e11d35701c98b885fbb6568fdd8f89effa78574
parentd65eec16b8c5d5e5f27771da4db3859187b86b84 (diff)
msd modification
svn path=/trunk/externals/nusmuk/; revision=14034
-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);
}