X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sharedkulczynskicody.cpp;h=8c8b7f7f4e181760b5bc9c7adb8117ab535b5c3d;hb=1a968f34ae2d2680eaf189a197d1a21b8dfd6c03;hp=de90252769a3925c96a463a62c63a1349c3ef710;hpb=5a7b1d45e9604becce2410333fcc71de818e3782;p=mothur.git diff --git a/sharedkulczynskicody.cpp b/sharedkulczynskicody.cpp index de90252..8c8b7f7 100644 --- a/sharedkulczynskicody.cpp +++ b/sharedkulczynskicody.cpp @@ -21,7 +21,7 @@ EstOutput KulczynskiCody::getValues(vector 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);