X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=collectdisplay.h;h=781cea1824dc77cb445819c94aed3173786baa94;hp=f7c8a4888f68949fe5a5a6c8b38dcc0ad375992d;hb=df7e3ff9f68ef157b0328a2d353c3258c5d45d89;hpb=82bf18e3ef0a52345519f91a682e64cc385b56bb diff --git a/collectdisplay.h b/collectdisplay.h index f7c8a48..781cea1 100644 --- a/collectdisplay.h +++ b/collectdisplay.h @@ -31,9 +31,10 @@ public: //because we randomizes the order we need to put the results in the correct column in the output file int group1Index, group2Index, pos; - for (int i = 0; i < m->Groups.size(); i++) { - if (shared[0]->getGroup() == m->Groups[i]) { group1Index = i; } - if (shared[1]->getGroup() == m->Groups[i]) { group2Index = i; } + vector mGroups = m->getGroups(); + for (int i = 0; i < mGroups.size(); i++) { + if (shared[0]->getGroup() == mGroups[i]) { group1Index = i; } + if (shared[1]->getGroup() == mGroups[i]) { group2Index = i; } } numGroupComb = 0;