]> git.donarmstrong.com Git - mothur.git/blobdiff - sharedkulczynski.cpp
changes while testing
[mothur.git] / sharedkulczynski.cpp
index 6aad5df26f2a6912b950df9e8d8211e730ef0fe1..5c91ddb65c654c5788c748596e87ddda94ae25f1 100644 (file)
@@ -21,7 +21,7 @@ EstOutput Kulczynski::getValues(vector<SharedRAbundVector*> shared) {
 
                data.resize(1,0);
                
-               for (int i = 0; i < shared[0]->size(); i++) {
+               for (int i = 0; i < shared[0]->getNumBins(); i++) {
                        //store in temps to avoid multiple repetitive function calls
                        tempA = shared[0]->getAbundance(i);
                        tempB = shared[1]->getAbundance(i);