]> git.donarmstrong.com Git - mothur.git/blobdiff - bootstrap.cpp
fixes while testing 1.33.0
[mothur.git] / bootstrap.cpp
index 649a6028e84fb338ceba0d86bca8d75a138a0be7..ce261cead89a50335536e1c165dca793f668ea04 100644 (file)
@@ -16,8 +16,8 @@ EstOutput Bootstrap::getValues(SAbundVector* rank){
                //vector<double> bootData(3,0);
                data.resize(1,0);
                double maxRank = (double)rank->getMaxRank();
-               int sampled = rank->getNumSeqs();
-               int sobs = rank->getNumBins();
+               double sampled = rank->getNumSeqs();
+               double sobs = rank->getNumBins();
 
                double boot = (double)sobs;
 
@@ -32,7 +32,7 @@ EstOutput Bootstrap::getValues(SAbundVector* rank){
                return data;
        }
        catch(exception& e) {
-               errorOut(e, "Bootstrap", "getValues");
+               m->errorOut(e, "Bootstrap", "getValues");
                exit(1);
        }
 }