X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=nseqs.h;fp=nseqs.h;h=c0f9549c87584bbf99e503388ff737c9f5343e8e;hb=53171f07cc0c0e560e2b4ba2946f690d59fc2dc4;hp=e82684b645041a10095c681061d4b16fa6929a9f;hpb=8da8321bc4d705f6c156248d6229c60a0204f750;p=mothur.git diff --git a/nseqs.h b/nseqs.h index e82684b..c0f9549 100644 --- a/nseqs.h +++ b/nseqs.h @@ -31,7 +31,7 @@ public: int numGroups = shared.size(); data.clear(); data.resize(numGroups,0); - for (int i = 0; i < shared[0]->size(); i++) { + for (int i = 0; i < shared[0]->getNumBins(); i++) { //get bin values and set sharedByAll bool sharedByAll = true; for (int j = 0; j < numGroups; j++) {