X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=matrixoutputcommand.h;h=90f120602e70dc04600b3048bab41bde21b21edc;hp=8a04c96a32ed6fa769a4e14474dfb624451751d1;hb=14cddf859d97118481161bf3e85a647976020758;hpb=4b54ce99af7db8019ea907cd7c2edf789369ada9 diff --git a/matrixoutputcommand.h b/matrixoutputcommand.h index 8a04c96..90f1206 100644 --- a/matrixoutputcommand.h +++ b/matrixoutputcommand.h @@ -121,6 +121,7 @@ struct distSharedData { unsigned long long start; unsigned long long end; MothurOut* m; + int count; distSharedData(){} distSharedData(MothurOut* mout, unsigned long long st, unsigned long long en, vector est, vector lu) { @@ -129,6 +130,7 @@ struct distSharedData { end = en; Estimators = est; thisLookup = lu; + count = 0; } }; /**************************************************************************************************/ @@ -230,7 +232,7 @@ static DWORD WINAPI MyDistSharedThreadFunction(LPVOID lpParam){ vector subset; for (int k = pDataArray->start; k < pDataArray->end; k++) { // pass cdd each set of groups to compare - + pDataArray->count++; for (int l = 0; l < k; l++) { if (k != l) { //we dont need to similiarity of a groups to itself