X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=chao1.cpp;h=d7ec7ea7015da078452562bd526d56944d590560;hp=590c20eeec65215f087bf36fd51593624e02ce02;hb=b206f634aae1b4ce13978d203247fb64757d5482;hpb=71b2121662daae3f9044252887d1c16eeddd85bb diff --git a/chao1.cpp b/chao1.cpp index 590c20e..d7ec7ea 100644 --- 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); } }