X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=odum.cpp;h=ec432e03b80f471e2d275c3af9b9006c30573be0;hp=e9cc5b86cba5f9a6a1f8b9dac10215e3445db8d5;hb=615301e57c25e241356a9c2380648d117709458d;hpb=75c5a235ac3eb22e0f97d36874f4b2dcf9591f2e diff --git a/odum.cpp b/odum.cpp index e9cc5b8..ec432e0 100644 --- a/odum.cpp +++ b/odum.cpp @@ -24,7 +24,7 @@ EstOutput Odum::getValues(vector shared) { int Bij = shared[1]->getAbundance(i); sumNum += abs(Aij - Bij); - sumDenom += Aij + Bij; + sumDenom += (Aij + Bij); } data[0] = sumNum / sumDenom;