X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sharedsobscollectsummary.cpp;h=e2e169c58788dfcd7e9aa313b7105a446bef7867;hb=f663afa231c9bc1b5e18e0ea3bdd2b2ee784f5b2;hp=0096303d03cd8282e8732046ddc36205a15a1633;hpb=510b1cfc25cd79391d6973ca20c5ec25fb1bb3b2;p=mothur.git diff --git a/sharedsobscollectsummary.cpp b/sharedsobscollectsummary.cpp index 0096303..e2e169c 100644 --- a/sharedsobscollectsummary.cpp +++ b/sharedsobscollectsummary.cpp @@ -16,7 +16,7 @@ EstOutput SharedSobsCS::getValues(vector shared){ try { data.resize(1,0); - int observed = 0; + double observed = 0; int numGroups = shared.size(); for (int i = 0; i < shared[0]->size(); i++) { @@ -34,7 +34,7 @@ EstOutput SharedSobsCS::getValues(vector shared){ return data; } catch(exception& e) { - errorOut(e, "SharedSobsCS", "getValues"); + m->errorOut(e, "SharedSobsCS", "getValues"); exit(1); } }