]> git.donarmstrong.com Git - mothur.git/blobdiff - readtree.cpp
added multiple processors option for Windows users to align.seqs, dist.seqs, summary...
[mothur.git] / readtree.cpp
index be7dc79509abbc78aeeb0a66ab45ca57b0d1324a..74b4268a8d75997edc28f4795866177057f9f813 100644 (file)
@@ -425,7 +425,7 @@ int ReadNewickTree::readNewickInt(istream& f, int& n, Tree* T, TreeMap* tmap) {
                                map<string, int>::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"]++;