X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=qstat.cpp;h=e07cdb3fb860b96a17ba2972474f0abb8bf05d7e;hp=60e6629b96e1c501a8f3fa2ffabde3fd14fefbb9;hb=a8e2df1b96a57f5f29576b08361b86a96a8eff4f;hpb=510b1cfc25cd79391d6973ca20c5ec25fb1bb3b2 diff --git a/qstat.cpp b/qstat.cpp index 60e6629..e07cdb3 100644 --- a/qstat.cpp +++ b/qstat.cpp @@ -31,8 +31,8 @@ EstOutput QStat::getValues(SAbundVector* rank){ int r3 = -1; int r1Ind = 0; int r3Ind = 0; - int sumSpec = 0; - int iqSum = 0; + double sumSpec = 0; + double iqSum = 0; for(int i = 1; i < rank->size(); i++) { if(r1 != -1 && r3 != -1) i = rank->size(); @@ -59,7 +59,7 @@ EstOutput QStat::getValues(SAbundVector* rank){ return data; } catch(exception& e) { - errorOut(e, "QStat", "getValues"); + m->errorOut(e, "QStat", "getValues"); exit(1); } }