]> git.donarmstrong.com Git - mothur.git/blobdiff - sharedcommand.cpp
working on chimeraslayer and found bug in shared command.
[mothur.git] / sharedcommand.cpp
index 2ce9bbcded2ba51409f9d130489953a3753ea438..62d8b3a3cf3f07a42a1d1f77c3ce21d57d526cdb 100644 (file)
@@ -223,10 +223,10 @@ void SharedCommand::createMisMatchFile() {
                        map<string, string> namesInList;
                        
                        //go through listfile and get names
-                       for (int i = 0; i < SharedList->getNumSeqs(); i++) {
+                       for (int i = 0; i < SharedList->getNumBins(); i++) {
                                
                                string names = SharedList->get(i); 
-                               
+               
                                while (names.find_first_of(',') != -1) { 
                                        string name = names.substr(0,names.find_first_of(','));
                                        names = names.substr(names.find_first_of(',')+1, names.length());