X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=cluster.cpp;h=0a70fbfee99957de6f08315562f9f0d9ac14fee0;hb=541bab1dac00688b4c3a8c4a95ab464412663c50;hp=2a3e751c5897e34039e6b9d15f1e0a908ed60556;hpb=0cefb55a2616975bd4a144fc345693695ffc9bb6;p=mothur.git diff --git a/cluster.cpp b/cluster.cpp index 2a3e751..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 << "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; } }