X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sharedthetayc.cpp;fp=sharedthetayc.cpp;h=ed18d9252ed52ef126355336f04bd04b67b0d7c3;hb=f099fdc1e3a0d7b75d780a164e5bdb93496a7a1d;hp=4d8a5d91b67f5854b6a87b6df01dcdf93589fdba;hpb=257808d42702d889a85d0132abc6b8776fc57418;p=mothur.git diff --git a/sharedthetayc.cpp b/sharedthetayc.cpp index 4d8a5d9..ed18d92 100644 --- a/sharedthetayc.cpp +++ b/sharedthetayc.cpp @@ -31,8 +31,8 @@ EstOutput ThetaYC::getValues(vector shared) { //get the total values we need to calculate the theta denominator sums for (int i = 0; i < shared[0]->size(); i++) { //store in temps to avoid multiple repetitive function calls - Atotal += (float)shared[0]->getAbundance(i); - Btotal += (float)shared[1]->getAbundance(i); + Atotal += (double)shared[0]->getAbundance(i); + Btotal += (double)shared[1]->getAbundance(i); } //calculate the theta denominator sums