You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
When needGrow() is true, the code does "continue" whereas it should have done "break".
// see if we need to size up after this insertion
if (this->needGrow(_population+1)){
// current bucket is not appropriate anymore under new size
// exit the do{} loop, after which we grow and try again
continue; // <<<<<<< bug
}
The text was updated successfully, but these errors were encountered:
When needGrow() is true, the code does "continue" whereas it should have done "break".
The text was updated successfully, but these errors were encountered: