]> git.donarmstrong.com Git - mothur.git/blobdiff - sparsematrix.hpp
changed random forest output filename
[mothur.git] / sparsematrix.hpp
index e42fdbb09cc10b00f535003c1c0742ba887d98b9..c8a11d70ddfe1fefa640e0e3412cc6f27ba0e579 100644 (file)
@@ -27,6 +27,7 @@ class SparseMatrix {
        
 public:
        SparseMatrix();
+       ~SparseMatrix(){  while(!mins.empty() && mins.back() == NULL){  mins.pop_back();        }  }
        int getNNodes();
        void print();                                   //Print the contents of the matrix
        void print(ListVector*);                //Print the contents of the matrix