- util->setGroups(m->Groups, tmap->namesOfGroups, allGroups, numGroups, "unweighted"); //sets the groups the user wants to analyze
- util->getCombos(groupComb, m->Groups, numComp);
+ Groups = m->getGroups();
+ vector<string> namesGroups = tmap->getNamesOfGroups();
+ util->setGroups(Groups, namesGroups, allGroups, numGroups, "unweighted"); //sets the groups the user wants to analyze
+ util->getCombos(groupComb, Groups, numComp);
+ m->setGroups(Groups);