]> git.donarmstrong.com Git - mothur.git/blobdiff - clustersplitcommand.cpp
added sparseDistanceMatrix class. Modified cluster commands to use the new sparse...
[mothur.git] / clustersplitcommand.cpp
index fc0211ee5a5432ef610c6f22696bff74adf0c72b..b097f382024d5be9c56bd346723e398b10ef3725 100644 (file)
@@ -1197,7 +1197,7 @@ string ClusterSplitCommand::clusterFile(string thisDistFile, string thisNamefile
         string listFileName = "";
         
         Cluster* cluster = NULL;
-        SparseMatrix* matrix = NULL;
+        SparseDistanceMatrix* matrix = NULL;
         ListVector* list = NULL;
         ListVector oldList;
         RAbundVector* rabund = NULL;
@@ -1227,7 +1227,7 @@ string ClusterSplitCommand::clusterFile(string thisDistFile, string thisNamefile
         
         list = read->getListVector();
         oldList = *list;
-        matrix = read->getMatrix();
+        matrix = read->getDMatrix();
         
         delete read;  read = NULL;
         delete nameMap; nameMap = NULL;