X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=cluster.cpp;h=ac9f4482da12110796c54f15c4137681a3d29038;hb=01f6af90c907264686304a5c684c702e94ff40ae;hp=440562c07bcfc19d426779e4f627b84f7b0df3a1;hpb=260ae19c36cb11a53ddc5a75b5e507f8dd8b31d6;p=mothur.git diff --git a/cluster.cpp b/cluster.cpp index 440562c..ac9f448 100644 --- a/cluster.cpp +++ b/cluster.cpp @@ -214,6 +214,7 @@ void Cluster::update(double& cutOFF){ // The vector has to be traversed in reverse order to preserve the index // for faster removal in removeCell() for (int i=nRowCells-1;i>=0;i--) { + //if you are not the smallCell if (!((rowCells[i]->row == smallRow) && (rowCells[i]->column == smallCol))) { if (rowCells[i]->row == smallRow) { search = rowCells[i]->column;