diff options
author | N.N. <nimon@users.sourceforge.net> | 2010-09-10 08:56:39 +0000 |
---|---|---|
committer | N.N. <nimon@users.sourceforge.net> | 2010-09-10 08:56:39 +0000 |
commit | d65eec16b8c5d5e5f27771da4db3859187b86b84 (patch) | |
tree | 89beabb8797c0e98aa2e621c3b12b317f50f7978 /msd/src | |
parent | 143dea7d2ac5c6e33ee05be8de363e8ca5cf2d58 (diff) |
msd modification
svn path=/trunk/externals/nusmuk/; revision=14033
Diffstat (limited to 'msd/src')
-rw-r--r-- | msd/src/msd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/msd/src/msd.h b/msd/src/msd.h index 8b59034..b0b03c9 100644 --- a/msd/src/msd.h +++ b/msd/src/msd.h @@ -319,7 +319,7 @@ public: if (d_tabname) { d_temp = interp_buf(distance-distance_old,d_tab,l_tab); } - F = K1*k_temp + D1*d_temp/distance; + F = (K1*k_temp + D1*d_temp)/distance; } else { if ((distance - longueur)>0) |