]> git.donarmstrong.com Git - mothur.git/blobdiff - phylotree.cpp
finished shhh.seqs command, fixed bug with remove.groups and get.groups that caused...
[mothur.git] / phylotree.cpp
index 891cca424719d7013a8e2984c1a0032612c464db..5438147ea3dd186989dafd144cf2d819c8845ef3 100644 (file)
@@ -131,7 +131,7 @@ PhyloTree::PhyloTree(string tfile){
                
                #ifdef USE_MPI
                        int pid, num, processors;
-                       vector<unsigned long int> positions;
+                       vector<unsigned long long> positions;
                        
                        MPI_Status status; 
                        MPI_File inMPI;
@@ -618,9 +618,10 @@ bool PhyloTree::ErrorCheck(vector<string> templateFileNames){
                                okay = false;
                        }
                        
-                       templateFileNames.erase(templateFileNames.begin()+i);
-                       i--;
+                       //templateFileNames.erase(templateFileNames.begin()+i);
+                       //i--;
                }
+               templateFileNames.clear();
                
                if (taxonomyFileNames.size() > 0) { //there are names in tax file that are not in template
                        okay = false;