- int sumSharedA, sumSharedB, sumSharedAB, tempA, tempB;
+ double sumSharedA, sumSharedB, sumSharedAB, tempA, tempB;
sumSharedA = 0; sumSharedB = 0; sumSharedAB = 0;
/*Xi, Yi = abundance of the ith shared OTU in A and B
sumSharedA = 0; sumSharedB = 0; sumSharedAB = 0;
/*Xi, Yi = abundance of the ith shared OTU in A and B
//store in temps to avoid multiple repetitive function calls
tempA = shared[0]->getAbundance(i);
tempB = shared[1]->getAbundance(i);
//store in temps to avoid multiple repetitive function calls
tempA = shared[0]->getAbundance(i);
tempB = shared[1]->getAbundance(i);