You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by le...@apache.org on 2020/06/22 23:18:09 UTC
[incubator-datasketches-java] branch Alex's_Bug updated: Fix
one-off bug that Alex found.
This is an automated email from the ASF dual-hosted git repository.
leerho pushed a commit to branch Alex's_Bug
in repository https://gitbox.apache.org/repos/asf/incubator-datasketches-java.git
The following commit(s) were added to refs/heads/Alex's_Bug by this push:
new 206cb81 Fix one-off bug that Alex found.
206cb81 is described below
commit 206cb81a6240e863a7f9b8e90be653400ed83c62
Author: Lee Rhodes <le...@users.noreply.github.com>
AuthorDate: Mon Jun 22 16:17:50 2020 -0700
Fix one-off bug that Alex found.
---
src/main/java/org/apache/datasketches/tuple/QuickSelectSketch.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/datasketches/tuple/QuickSelectSketch.java b/src/main/java/org/apache/datasketches/tuple/QuickSelectSketch.java
index f0a67a6..bfe9c43 100644
--- a/src/main/java/org/apache/datasketches/tuple/QuickSelectSketch.java
+++ b/src/main/java/org/apache/datasketches/tuple/QuickSelectSketch.java
@@ -419,7 +419,7 @@ class QuickSelectSketch<S extends Summary> extends Sketch<S> {
}
boolean rebuildIfNeeded() {
- if (count_ < rebuildThreshold_) {
+ if (count_ <= rebuildThreshold_) {
return false;
}
if (hashTable_.length > nomEntries_) {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org