]> git.donarmstrong.com Git - mothur.git/blobdiff - unweighted.cpp
moved utilities out of mothur.h and into mothurOut class.
[mothur.git] / unweighted.cpp
index 2a2a41cf0f6b823e3a781d9dabe53702e04d6f78..1f6ad9632bc1dccba63c3308cbb4065b6dc4eca6 100644 (file)
@@ -53,7 +53,7 @@ EstOutput Unweighted::getValues(Tree* t) {
        
                                        copyIpcount = t->tree[i].pcount;
                                        for (it = copyIpcount.begin(); it != copyIpcount.end();) {
-                                               if (inUsersGroups(it->first, groups) != true) { 
+                                               if (m->inUsersGroups(it->first, groups) != true) {      
                                                        copyIpcount.erase(it++);        
                                                }else { it++;  }
                                        }
@@ -107,7 +107,7 @@ EstOutput Unweighted::getValues(Tree* t) {
                                
                                copyIpcount = t->tree[i].pcount;
                                for (it = copyIpcount.begin(); it != copyIpcount.end();) {
-                                       if (inUsersGroups(it->first, groups) != true) { 
+                                       if (m->inUsersGroups(it->first, groups) != true) {      
                                                copyIpcount.erase(it++);        
                                        }else {  it++;  }
                                }
@@ -197,7 +197,7 @@ EstOutput Unweighted::getValues(Tree* t, string groupA, string groupB) {
                                        //This section adds in all lengths that are non leaf
                                        copyIpcount = copyTree->tree[i].pcount;
                                        for (it = copyIpcount.begin(); it != copyIpcount.end();) {
-                                               if (inUsersGroups(it->first, groups) != true) { 
+                                               if (m->inUsersGroups(it->first, groups) != true) {      
                                                        copyIpcount.erase(it++);        
                                                }else { it++;  }
                                        }
@@ -257,7 +257,7 @@ EstOutput Unweighted::getValues(Tree* t, string groupA, string groupB) {
                        
                                copyIpcount = copyTree->tree[i].pcount;
                                for (it = copyIpcount.begin(); it != copyIpcount.end();) {
-                                               if (inUsersGroups(it->first, groups) != true) { 
+                                               if (m->inUsersGroups(it->first, groups) != true) {      
                                                        copyIpcount.erase(it++);        
                                                }else { it++;  }
                                }