X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=sparsematrix.hpp;h=c8a11d70ddfe1fefa640e0e3412cc6f27ba0e579;hp=e42fdbb09cc10b00f535003c1c0742ba887d98b9;hb=050a3ff02473a3d4c0980964e1a9ebe52e55d6b8;hpb=74844a60d80c6dd06e3fb02ee9b928424f9019b0 diff --git a/sparsematrix.hpp b/sparsematrix.hpp index e42fdbb..c8a11d7 100644 --- a/sparsematrix.hpp +++ b/sparsematrix.hpp @@ -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