]> git.donarmstrong.com Git - mothur.git/blobdiff - chao1.cpp
fixes while testing 1.33.0
[mothur.git] / chao1.cpp
index 590c20eeec65215f087bf36fd51593624e02ce02..d7ec7ea7015da078452562bd526d56944d590560 100644 (file)
--- a/chao1.cpp
+++ b/chao1.cpp
@@ -29,7 +29,7 @@ EstOutput Chao1::getValues(SAbundVector* rank){
                }else{ doubles = 0.0;  }
 
                double chaovar = 0.0000;
-//cout << "singles = " << singles << " doubles = " << doubles << " sobs = " << sobs << endl;   
+//cout << "singles = " << singles << " doubles = " << doubles << " sobs = " << sobs << endl;
                double chao = sobs + singles*(singles-1)/(2*(doubles+1));
        
                if(singles > 0 && doubles > 0){
@@ -70,7 +70,7 @@ EstOutput Chao1::getValues(SAbundVector* rank){
                return data;
        }
        catch(exception& e) {
-               errorOut(e, "Chao1", "getValues");
+               m->errorOut(e, "Chao1", "getValues");
                exit(1);
        }
 }