X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bootstrap.cpp;h=ce261cead89a50335536e1c165dca793f668ea04;hb=a0f1fca79d2ddfa7ad36b4485039c68b5704fe8d;hp=2cba2fe08274827a5852116a43dc0994289285f6;hpb=20a2d0350a737a434c89f303662d64a8eeea7b05;p=mothur.git diff --git a/bootstrap.cpp b/bootstrap.cpp index 2cba2fe..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,13 +32,9 @@ EstOutput Bootstrap::getValues(SAbundVector* rank){ return data; } catch(exception& e) { - cout << "Standard Error: " << e.what() << " has occurred in the Bootstrap class Function getValues. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n"; + m->errorOut(e, "Bootstrap", "getValues"); exit(1); } - catch(...) { - cout << "An unknown error has occurred in the Bootstrap class function getValues. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n"; - exit(1); - } } /***********************************************************************/