X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sharedsobs.cpp;h=36cacd6935727ba1763b436e25f334ab2c1862bc;hb=2bb9267aa4b4ecdf8488b06605cc9f3f36fa4332;hp=b65a8781db509ab48c77ea20f0341c47e2ad1d62;hpb=510b1cfc25cd79391d6973ca20c5ec25fb1bb3b2;p=mothur.git diff --git a/sharedsobs.cpp b/sharedsobs.cpp index b65a878..36cacd6 100644 --- a/sharedsobs.cpp +++ b/sharedsobs.cpp @@ -16,7 +16,7 @@ EstOutput SharedSobs::getValues(vector shared){ try { data.resize(1,0); - int observed = 0; + double observed = 0; //loop through the species in each group for (int k = 0; k < shared[0]->size(); k++) { @@ -29,7 +29,7 @@ EstOutput SharedSobs::getValues(vector shared){ return data; } catch(exception& e) { - errorOut(e, "SharedSobs", "getValues"); + m->errorOut(e, "SharedSobs", "getValues"); exit(1); } }