X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=cluster.cpp;h=0a70fbfee99957de6f08315562f9f0d9ac14fee0;hb=037b7fccc64a5c7d5d5c23a949273a912160a400;hp=18133a29030cc47d10ab7a1c7f3572cec74e4c29;hpb=196c22d0f93ba48e8ec54ab76608b6e3ba5e68cc;p=mothur.git diff --git a/cluster.cpp b/cluster.cpp index 18133a2..0a70fbf 100644 --- a/cluster.cpp +++ b/cluster.cpp @@ -64,7 +64,7 @@ void Cluster::update(double& cutOFF){ nRowCells = dMatrix->seqVec[smallRow].size(); vector foundCol(nColCells, 0); - //cout << dMatrix->getNNodes() << " small cell: " << smallRow << '\t' << smallCol << endl; + //cout << dMatrix->getNNodes() << " small cell: " << smallRow << '\t' << smallCol << endl; int search; bool changed; @@ -91,7 +91,8 @@ void Cluster::update(double& cutOFF){ //if not merged it you need it for warning if ((!merged) && (method == "average" || method == "weighted")) { if (cutOFF > dMatrix->seqVec[smallRow][i].dist) { - cutOFF = dMatrix->seqVec[smallRow][i].dist; + cutOFF = dMatrix->seqVec[smallRow][i].dist; + //cout << "changing cutoff to " << cutOFF << endl; } }