X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bootstrap.cpp;h=ce261cead89a50335536e1c165dca793f668ea04;hb=6b32d112bb60e9f7eb6d4407a4eed4c49b67bced;hp=649a6028e84fb338ceba0d86bca8d75a138a0be7;hpb=510b1cfc25cd79391d6973ca20c5ec25fb1bb3b2;p=mothur.git diff --git a/bootstrap.cpp b/bootstrap.cpp index 649a602..ce261ce 100644 --- a/bootstrap.cpp +++ b/bootstrap.cpp @@ -16,8 +16,8 @@ EstOutput Bootstrap::getValues(SAbundVector* rank){ //vector 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); } }