We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3bfd391 + 0a21bc1 commit ff7c764Copy full SHA for ff7c764
1 file changed
include/dbscan/pbbs/ndHash.h
@@ -82,16 +82,17 @@ class Table {
82
}
83
*/
84
85
- Table(intT size, HASH hashF) :
+ Table(intT size, HASH hashF) :
86
m((intT)1 << utils::log2Up(100+(intT)(2.0*(float)size))),
87
mask(m-1),
88
- empty(hashF.empty()),
89
hashStruct(hashF),
90
TA(newA(eType,m)),
91
compactL(NULL),
92
load(2.0)
93
- { clearA(TA,m,empty);
94
- }
+ {
+ empty = hashStruct.empty();
+ clearA(TA,m,empty);
95
+ }
96
97
/*
98
// Constructor that takes an array for the hash table space. The
0 commit comments