Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cdist: Fix incorrect logic in reduce (#873)
The original logic only covers cases, 1) num of active sgs == 1, 2) num of active sgs > sg_size. But doesn't cover case, num of active sgs > 1 and <= sg_size. The PR complements the logic.
- Loading branch information