]> git.donarmstrong.com Git - mothur.git/blobdiff - unifracunweightedcommand.cpp
fixed bug in unifrac commands with unrooted trees
[mothur.git] / unifracunweightedcommand.cpp
index 566fd10c8ef9ff90849896982343e6970bdeaba5..fbbc4f1de67cebeb1b9e57a4dce47f499e272f63 100644 (file)
@@ -432,7 +432,7 @@ void UnifracUnweightedCommand::createPhylipFile(int i) {
                                out << name << '\t';
                                
                                //output distances
-                               for (int l = 0; l < globaldata->Groups.size(); l++) {   out  << dists[r][l] << '\t';  }
+                               for (int l = 0; l < globaldata->Groups.size(); l++) {   out << setprecision(11) << dists[r][l] << '\t';  }
                                out << endl;
                        }else{
                                //output distances