]> git.donarmstrong.com Git - mothur.git/blobdiff - cluster.cpp
cleaned up code
[mothur.git] / cluster.cpp
index a766e08d47b4af7a46d8093323cb795d57d6aa78..ac9f4482da12110796c54f15c4137681a3d29038 100644 (file)
@@ -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<MatVec>(lv->size());
        for (MatData currentCell = dMatrix->begin(); currentCell != dMatrix->end(); currentCell++) {
@@ -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;