]> git.donarmstrong.com Git - mothur.git/blobdiff - shared.cpp
version 1.4
[mothur.git] / shared.cpp
index 91c4ce5f3411971484f8849aa0510b3a289c7a62..b15ef93f32b58f7b294704cbe44aaa90472cf349 100644 (file)
@@ -16,11 +16,12 @@ Shared::Shared(){
 }
 
 /**************************************************************************************************/
-void Shared::getSharedVectors(int index, SharedListVector* list) {
+void Shared::getSharedVectors(SharedListVector* list) {
                string label, group;
                int i,j;
                label = list->getLabel();
                
+               for (it = sharedGroups.begin(); it != sharedGroups.end(); it++) {  delete it->second;  }
                sharedGroups.clear();  //removes old info.
                
                //initalize sharedGroups 
@@ -39,7 +40,7 @@ void Shared::getSharedVectors(int index, SharedListVector* list) {
                }
                
                //updates sharedVector
-               sharedRAbund.push_back(sharedGroups);
+               //sharedRAbund.push_back(sharedGroups);
 }