]> git.donarmstrong.com Git - mothur.git/blobdiff - treegroupscommand.cpp
added deunique.tree command
[mothur.git] / treegroupscommand.cpp
index 582a3233ae847f64bc74209e14c918d2b6ebdc45..9c56d2228092a25779cd0431c5a3a5ef06f81563 100644 (file)
@@ -758,8 +758,8 @@ int TreeGroupCommand::process(vector<SharedRAbundVector*> thisLookup) {
                                                                if (m->control_pressed) { return 1; }
                                                                
                                                                //save values in similarity matrix
-                                                               simMatrix[k][l] = data[0];
-                                                               simMatrix[l][k] = data[0];
+                                                               simMatrix[k][l] = -(data[0]-1.0);
+                                                               simMatrix[l][k] = -(data[0]-1.0);
                                                        }
                                                }
                                        }