aboutsummaryrefslogtreecommitdiff
path: root/msd.h
diff options
context:
space:
mode:
Diffstat (limited to 'msd.h')
-rw-r--r--msd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/msd.h b/msd.h
index 88bd6ce..5754376 100644
--- a/msd.h
+++ b/msd.h
@@ -111,7 +111,7 @@ public:
}
}
- inline void setForce(int n,t_float f) { force[n] = f; }
+ inline void setForce(int n,t_float f) { force[n] += f; }
inline void setForce(t_float f[N])
{