Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust Hellinger pairwise distance to vaoid NaNs (rapidsai#189)
This change will fix NaNs that arise in Hellinger pairwise distance when the input to sqrt is negative. These kind of inputs can happen even when the inputs are normalized row-wise to 1 due to accumulation of rounding approximation. Authors: - Micka (https://github.com/lowener) Approvers: - Divye Gala (https://github.com/divyegala) - Corey J. Nolet (https://github.com/cjnolet) URL: rapidsai/raft#189