]> git.donarmstrong.com Git - mothur.git/blobdiff - bayesian.cpp
classify.seqs allows sequences to be in taxonomy file that are not in template. ...
[mothur.git] / bayesian.cpp
index 49be4af57ff66f46ac04912535d7918518cc75d2..cf70010e76a6b9cba77b8ade2fcd7d18713391d3 100644 (file)
@@ -255,9 +255,8 @@ Classify(), kmerSize(ksize), confidenceThreshold(cutoff), iters(i) {
 /**************************************************************************************************/
 Bayesian::~Bayesian() {
        try {
-               
-                delete phyloTree; 
-                if (database != NULL) {  delete database; }
+        if (phyloTree != NULL) { delete phyloTree; }
+        if (database != NULL) {  delete database; }
        }
        catch(exception& e) {
                m->errorOut(e, "Bayesian", "~Bayesian");