]> git.donarmstrong.com Git - mothur.git/commitdiff
trim.flows mod
authorpschloss <pschloss>
Thu, 9 Jun 2011 19:47:48 +0000 (19:47 +0000)
committerpschloss <pschloss>
Thu, 9 Jun 2011 19:47:48 +0000 (19:47 +0000)
trimflowscommand.cpp

index bcf996b53a1f2cd385fa7bb00a2c2c7c50cf4343..77377a47c34e51bf13e97bef11f7966ba2cb6199 100644 (file)
@@ -612,7 +612,7 @@ int TrimFlowsCommand::stripBarcode(Sequence& seq, int& group){
                        if (barcodes.size() > 0) {
                                map<string,int>::iterator it=barcodes.begin();
                                
-                               for(it;it!=barcodes.end();it++){
+                               for(map<string,int>::iterator it=barcodes.begin();it!=barcodes.end();it++){
                                        if(it->first.length() > maxLength){
                                                maxLength = it->first.length();
                                        }