aboutsummaryrefslogtreecommitdiff
path: root/msd/src/msd.h
diff options
context:
space:
mode:
Diffstat (limited to 'msd/src/msd.h')
-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 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)