X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=cluster.cpp;h=ac9f4482da12110796c54f15c4137681a3d29038;hb=d205e70ae86dbee2efc2df02f2717975854de6ba;hp=d0a83cfd0f4a7ccd5c73c8ea8966a8e3d49fc03c;hpb=14bf280629e8e52ff1ea3c9da6f7aae1e28f9acb;p=mothur.git diff --git a/cluster.cpp b/cluster.cpp index d0a83cf..ac9f448 100644 --- a/cluster.cpp +++ b/cluster.cpp @@ -53,7 +53,7 @@ rabund(rav), list(lv), dMatrix(dm), method(f) // sequence in the distance matrix. //ofstream outtemp; //string temp = "temp"; -//openOutputFile(temp, outtemp); +//m->openOutputFile(temp, outtemp); //cout << lv->size() << endl; seqVec = vector(lv->size()); for (MatData currentCell = dMatrix->begin(); currentCell != dMatrix->end(); currentCell++) { @@ -205,7 +205,6 @@ void Cluster::clusterNames(){ void Cluster::update(double& cutOFF){ try { getRowColCells(); -//cout << "got rowcells" << endl; vector foundCol(nColCells, 0); @@ -215,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;