]> git.donarmstrong.com Git - mothur.git/blobdiff - sharedsobscollectsummary.cpp
added sequence name to error string in fastq.info. Changed np_shannon to npshannon.
[mothur.git] / sharedsobscollectsummary.cpp
index 0096303d03cd8282e8732046ddc36205a15a1633..e2e169c58788dfcd7e9aa313b7105a446bef7867 100644 (file)
@@ -16,7 +16,7 @@
 EstOutput SharedSobsCS::getValues(vector<SharedRAbundVector*> 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<SharedRAbundVector*> shared){
                return data;
        }
        catch(exception& e) {
-               errorOut(e, "SharedSobsCS", "getValues");
+               m->errorOut(e, "SharedSobsCS", "getValues");
                exit(1);
        }
 }