X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=unifracunweightedcommand.cpp;h=79ee042a9ac883ddadbfef057dff813a4e51cf2a;hp=b80a3abb4bb76bd0a5da3afa5548df0771797e45;hb=4b6e3f7b5543822a2cca4fb076ab6af2ce8ca62d;hpb=1b4b18b3e6fa1436b7cc6dcb14c749ac1ae1bdd8 diff --git a/unifracunweightedcommand.cpp b/unifracunweightedcommand.cpp index b80a3ab..79ee042 100644 --- a/unifracunweightedcommand.cpp +++ b/unifracunweightedcommand.cpp @@ -406,7 +406,7 @@ void UnifracUnweightedCommand::createPhylipFile(int i) { //flip it so you can print it int count = 0; for (int r=0; rGroups.size(); r++) { - for (int l = r+1; l < globaldata->Groups.size(); l++) { + for (int l = 0; l < r; l++) { dists[r][l] = utreeScores[count][0]; dists[l][r] = utreeScores[count][0]; count++;