]> git.donarmstrong.com Git - mothur.git/blobdiff - sharedochiai.cpp
changes while testing
[mothur.git] / sharedochiai.cpp
index 004e535bdb37d4247ec9f9d8aa0e4ad96e4c4ccf..b49fa4a3cc5730b0a97b0eefe30f952a7671f932 100644 (file)
@@ -21,7 +21,7 @@ EstOutput Ochiai::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);