pr comment

This commit is contained in:
Russell Sears 2020-05-07 17:22:04 -07:00
parent 42950eba91
commit 4098f3f48e
1 changed files with 1 additions and 1 deletions

View File

@ -714,7 +714,7 @@ int IndexedSet<T,Metric>::insert(const std::vector<std::pair<T,Metric>>& dataVec
while (true) {
int cmp = compare(data, t->data);
d = cmp > 0;
if (!d)
if (d == 0)
blockEnd = t;
if (cmp == 0) {
Node *returnNode = t;