]> git.donarmstrong.com Git - mothur.git/blobdiff - mgclustercommand.cpp
fixed pointers in mgcluster
[mothur.git] / mgclustercommand.cpp
index 878d6a40cfb53bc70157d9c9cc77b60097118781..cffb80f9e8f2963d4983c6637d8eef2b33566de4 100644 (file)
@@ -247,8 +247,8 @@ int MGClusterCommand::execute(){
         
         if(countfile != "") {
             //map<string, int> nameMapCounts = m->readNames(namefile);
-            CountTable ct = new CountTable();
-            ct.readTable(countfile);
+            ct = new CountTable();
+            ct->readTable(countfile);
             createRabund(ct, list);
             rabund = &rav;
         }else {
@@ -724,7 +724,7 @@ void MGClusterCommand::sortHclusterFiles(string unsortedDist, string unsortedOve
 
 //**********************************************************************************************************************
 
-void MGClusterCommand::createRabund(CountTable ct, ListVector list){
+void MGClusterCommand::createRabund(CountTable* ct, ListVector* list){
     try {
         //vector<string> names = ct.getNamesOfSeqs();