summaryrefslogtreecommitdiffstats
path: root/ml/Query.h
diff options
context:
space:
mode:
Diffstat (limited to 'ml/Query.h')
-rw-r--r--ml/Query.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ml/Query.h b/ml/Query.h
index 78e99db350..78d1170033 100644
--- a/ml/Query.h
+++ b/ml/Query.h
@@ -40,7 +40,7 @@ public:
std::pair<time_t, CalculatedNumber> nextMetric() {
points_read++;
STORAGE_POINT sp = Ops->next_metric(&Handle);
- return { sp.end_time, sp.sum / sp.count };
+ return { sp.start_time, sp.sum / sp.count };
}
private: