]> git.donarmstrong.com Git - mothur.git/blobdiff - getoturepcommand.cpp
fixing minor bugs
[mothur.git] / getoturepcommand.cpp
index 791889996a0ec1d7c726885d22eb7277388d7f14..35e6924414931a11a5b476e5ecd77a9622bad8c2 100644 (file)
@@ -91,7 +91,7 @@ GetOTURepCommand::GetOTURepCommand(string option){
                
                        if (abort == false) {
                        
-                               if(globaldata->gSparseMatrix != NULL)   {       matrix = new SparseMatrix(*globaldata->gSparseMatrix);          }       
+                               if(globaldata->gSparseMatrix != NULL)   {       matrix = globaldata->gSparseMatrix;             }       
                                        
                                //globaldata->gListVector bin 0 = first name read in distance matrix, globaldata->gListVector bin 1 = second name read in distance matrix
                                if(globaldata->gListVector != NULL)             {