]> git.donarmstrong.com Git - mothur.git/blobdiff - sharedchao1.cpp
bugs fixes while testing for 1.5 release
[mothur.git] / sharedchao1.cpp
index cbb519241bd98e85823ef1fc25f33701dbeb84e9..a28f6092e8269bca28e5269952772758883ee64d 100644 (file)
@@ -48,7 +48,7 @@ EstOutput SharedChao1::getValues(vector<SharedRAbundVector*> shared){
 
                        
                //calculate chao1, (numleaves-1) because numleaves contains the ++ values.
-               bool bias;
+               bool bias = false;
                for(int i=0;i<numLeaves;i++){
                        if (f2leaves[i]->lvalue == 0 || f2leaves[i]->rvalue == 0) { bias = true;}// break;}
                }