]> git.mxchange.org Git - simgear.git/blobdiff - simgear/structure/SGSmplstat.cxx
math: Move lerp function into SGMisc.
[simgear.git] / simgear / structure / SGSmplstat.cxx
index 6d071be92b189d452bc756c49c477b32b6db76ec..3135cf0b0c950358a4374549179421bd2b13bd52 100644 (file)
@@ -81,6 +81,7 @@ void SampleStatistic::operator += (double value)
 {
   n += 1;
   x += value;
+  allTimeTotal += value;
   x2 += (value * value);
   if (minValue > value)
     minValue = value;