Support for time binning in ingest

This commit is contained in:
Dominik Werder
2023-05-12 12:40:36 +02:00
parent 3c6c1a24ff
commit ea7adfd785
2 changed files with 22 additions and 4 deletions

View File

@@ -524,7 +524,7 @@ impl<STY: ScalarOps> TimeBinner for EventsXbinDim0TimeBinner<STY> {
error!("{}::push_in_progress bins.len() {}", Self::type_name(), bins.len());
return;
} else {
if push_empty || bins.counts[0] != 0 {
if push_empty || bins.counts()[0] != 0 {
match self.ready.as_mut() {
Some(ready) => {
ready.append_all_from(&mut bins);