X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sharedthetayc.cpp;fp=sharedthetayc.cpp;h=ad2e1c574302b678f9d503dc235ef3b5a6b38db2;hb=25cde7ff05bbe741da1712f2c740e0bc8706e523;hp=a055b664728f16c852459da8fc9a0946b093215e;hpb=39a9b207d1046f3409781c45e38b7a871133d224;p=mothur.git diff --git a/sharedthetayc.cpp b/sharedthetayc.cpp index a055b66..ad2e1c5 100644 --- a/sharedthetayc.cpp +++ b/sharedthetayc.cpp @@ -16,8 +16,8 @@ EstOutput SharedThetaYC::getValues(SharedRAbundVector* shared1, SharedRAbundVect int Atotal, Btotal, tempA, tempB; Atotal = 0; Btotal = 0; - float numerator, denominator, thetaYC, sumSharedA, sumSharedB, a, b, d; - numerator = 0.0; denominator = 0.0; thetaYC = 0.0; sumSharedA = 0.0; sumSharedB = 0.0; a = 0.0; b = 0.0; d = 0.0; + float thetaYC, sumSharedA, sumSharedB, a, b, d; + thetaYC = 0.0; sumSharedA = 0.0; sumSharedB = 0.0; a = 0.0; b = 0.0; d = 0.0; //get the total values we need to calculate the theta denominator sums for (int i = 0; i < shared1->size(); i++) {