]> git.donarmstrong.com Git - mothur.git/blobdiff - readdistcommand.cpp
fixed memory issue with cluster command
[mothur.git] / readdistcommand.cpp
index 116e670a6e36f20df403cabf0610f7d60b4bbb5a..a9d772183d253168e96d48aa6d979c94616bde0d 100644 (file)
@@ -72,8 +72,8 @@ int ReadDistCommand::execute(){
                        globaldata->gMatrix = matrix; //save matrix for coverage commands
                }else {
                        read->read(nameMap);
-                       globaldata->setListVector(read->getListVector());
-                       globaldata->setSparseMatrix(read->getMatrix());
+                       globaldata->gListVector = read->getListVector();
+                       globaldata->gSparseMatrix = read->getMatrix();
                }
                return 0;
        }