X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=readtree.cpp;h=74b4268a8d75997edc28f4795866177057f9f813;hb=55386dddad84cc1140d736cabaf4dd0ae16f2e01;hp=be7dc79509abbc78aeeb0a66ab45ca57b0d1324a;hpb=ca9ac1d80c62f57270b0dcd49410ebe08a8aecd6;p=mothur.git diff --git a/readtree.cpp b/readtree.cpp index be7dc79..74b4268 100644 --- a/readtree.cpp +++ b/readtree.cpp @@ -425,7 +425,7 @@ int ReadNewickTree::readNewickInt(istream& f, int& n, Tree* T, TreeMap* tmap) { map::iterator it; it = tmap->seqsPerGroup.find("xxx"); if (it == tmap->seqsPerGroup.end()) { //its a new group - tmap->namesOfGroups.push_back("xxx"); + tmap->addGroup("xxx"); tmap->seqsPerGroup["xxx"] = 1; }else { tmap->seqsPerGroup["xxx"]++;