forked from kalkih/mini-graph-card
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: drop out-of-bound coords in reducer (kalkih#881)
The fix from kalkih#251 introduced a logic that 1. allocated all "too-old" coords to the first group coords[0] 2. deleted all but one entries from that first group. This caused aggregators to stop calculating proper results for that first group. The new logic drops out-of-bounds entries already in the reducer. This allows the first group to have multiple entries. Aggregate functions now work again. Also clean up reducer code with no funtional change.
- Loading branch information
1 parent
7576fe6
commit 527f005
Showing
1 changed file
with
17 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters