X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=unifracweightedcommand.cpp;h=f092b0f2cf03c8e00d70e437af2219ad9c8def44;hb=438aa88dbc092d9c1c80ec3fa20c8e47f97101c4;hp=cd7fec12320e3ee50e415a348df4a5b503e35763;hpb=e4ca037c5e637e3d34e64cb5e8ab11b03220188d;p=mothur.git diff --git a/unifracweightedcommand.cpp b/unifracweightedcommand.cpp index cd7fec1..f092b0f 100644 --- a/unifracweightedcommand.cpp +++ b/unifracweightedcommand.cpp @@ -365,8 +365,8 @@ void UnifracWeightedCommand::createPhylipFile() { //flip it so you can print it for (int r=0; rGroups.size(); r++) { for (int l = r+1; l < globaldata->Groups.size(); l++) { - dists[r][l] = (1.0 - utreeScores[count]); - dists[l][r] = (1.0 - utreeScores[count]); + dists[r][l] = utreeScores[count]; + dists[l][r] = utreeScores[count]; count++; } }