Skip to content

Commit

Permalink
Adding small comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
KiterLuc committed Aug 29, 2023
1 parent 46f93bf commit 5f7fdc4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tiledb/sm/query/readers/aggregators/mean_aggregator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ void MeanAggregator<T>::validate_output_buffer(

template <typename T>
void MeanAggregator<T>::aggregate_data(AggregateBuffer& input_data) {
// NOTE: While this could be shared with the sum implementation, it isn't
// because it will be improved soon... Means should always be able to be
// computed with no overflows.

// Return if a previous aggregation has overflowed.
if (sum_overflowed_) {
return;
Expand Down

0 comments on commit 5f7fdc4

Please sign in to comment.