@@ -154,7 +154,10 @@ impl<T: Number<T>> Sum<T> {
154
154
* start = t;
155
155
}
156
156
157
- ( n, new_agg. map ( |a| Box :: new ( a) as Box < _ > ) )
157
+ (
158
+ s_data. data_points . len ( ) ,
159
+ new_agg. map ( |a| Box :: new ( a) as Box < _ > ) ,
160
+ )
158
161
}
159
162
160
163
pub ( crate ) fn cumulative (
@@ -220,7 +223,10 @@ impl<T: Number<T>> Sum<T> {
220
223
} ) ;
221
224
}
222
225
223
- ( n, new_agg. map ( |a| Box :: new ( a) as Box < _ > ) )
226
+ (
227
+ s_data. data_points . len ( ) ,
228
+ new_agg. map ( |a| Box :: new ( a) as Box < _ > ) ,
229
+ )
224
230
}
225
231
}
226
232
@@ -322,7 +328,10 @@ impl<T: Number<T>> PrecomputedSum<T> {
322
328
* reported = new_reported;
323
329
drop ( reported) ; // drop before values guard is dropped
324
330
325
- ( n, new_agg. map ( |a| Box :: new ( a) as Box < _ > ) )
331
+ (
332
+ s_data. data_points . len ( ) ,
333
+ new_agg. map ( |a| Box :: new ( a) as Box < _ > ) ,
334
+ )
326
335
}
327
336
328
337
pub ( crate ) fn cumulative (
@@ -396,6 +405,9 @@ impl<T: Number<T>> PrecomputedSum<T> {
396
405
* reported = new_reported;
397
406
drop ( reported) ; // drop before values guard is dropped
398
407
399
- ( n, new_agg. map ( |a| Box :: new ( a) as Box < _ > ) )
408
+ (
409
+ s_data. data_points . len ( ) ,
410
+ new_agg. map ( |a| Box :: new ( a) as Box < _ > ) ,
411
+ )
400
412
}
401
413
}
0 commit comments