]> git.donarmstrong.com Git - mothur.git/blobdiff - preclustercommand.h
mods to resolve some misc warnings. added alignPrimer function to needle man to allow...
[mothur.git] / preclustercommand.h
index 7be805f0083fca6819703f487d438257674d03df..12dd2d2556fcef245794ff178171920f7f5f0b37 100644 (file)
@@ -329,7 +329,7 @@ static DWORD WINAPI MyPreclusterThreadFunction(LPVOID lpParam){
                                 if (mismatch > pDataArray->diffs) { mismatch = length; break; } //to far to cluster
                             }
                             
-                            if (mismatch <= diffs) {
+                            if (mismatch <= pDataArray->diffs) {
                                 //merge
                                 alignSeqs[j].names += ',' + alignSeqs[i].names;
                                 alignSeqs[j].numIdentical += alignSeqs[i].numIdentical;