]> git.donarmstrong.com Git - mothur.git/blobdiff - averagelinkage.cpp
chimeras, fix to sabundvector and sharedsabundvector that caused getRabundVector...
[mothur.git] / averagelinkage.cpp
index db2c51edc5b182b52dcf540456baad7b5782c61e..7522d2a3083f9247744f93a5bc147480f0304a72 100644 (file)
@@ -38,15 +38,8 @@ bool AverageLinkage::updateDistance(MatData& colCell, MatData& rowCell) {
                        saveCol = smallCol;
                }
                
-               float oldColCell = colCell->dist;
-               
                colCell->dist = (colBin * colCell->dist + rowBin * rowCell->dist) / totalBin;
                
-               //warn user if merge with value above cutoff produces a value below cutoff
-               if ((colCell->dist < cutoff) && ((oldColCell > cutoff) || (rowCell->dist > cutoff)) ) {
-                       mothurOut("Warning: merging " + toString(oldColCell) + " with " + toString(rowCell->dist) + ", new value = " + toString(colCell->dist) + ". Results will differ from those if cutoff was used in the read.dist command."); mothurOutEndLine();
-               }
-
                return(true);
        }
        catch(exception& e) {