X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=summarysharedcommand.h;h=8ba9b9fcf3e40b745cf75ddbaccd2f6df8cde652;hp=f486d520216bd8ec4858d50cd7f2d92b7fd23537;hb=615301e57c25e241356a9c2380648d117709458d;hpb=1a5c2356c1b955c6ec024b2baf9f46377ee7c72e diff --git a/summarysharedcommand.h b/summarysharedcommand.h index f486d52..8ba9b9f 100644 --- a/summarysharedcommand.h +++ b/summarysharedcommand.h @@ -112,6 +112,7 @@ struct summarySharedData { unsigned long long end; MothurOut* m; string sumFile; + int count; summarySharedData(){} summarySharedData(string sf, MothurOut* mout, unsigned long long st, unsigned long long en, vector est, vector lu) { @@ -121,6 +122,7 @@ struct summarySharedData { end = en; Estimators = est; thisLookup = lu; + count=0; } }; /**************************************************************************************************/ @@ -225,7 +227,7 @@ static DWORD WINAPI MySummarySharedThreadFunction(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++) { outputFileHandle << pDataArray->thisLookup[0]->getLabel() << '\t';