]> git.donarmstrong.com Git - mothur.git/blobdiff - sharedlennon.cpp
moved utilities out of mothur.h and into mothurOut class.
[mothur.git] / sharedlennon.cpp
index 514f2b90e502e468132d0a72e27273f05396a219..0c0f833f33ff83299237b8b03cc9e28174f2c224 100644 (file)
@@ -13,7 +13,7 @@
 
 EstOutput Lennon::getValues(vector<SharedRAbundVector*> shared) {
        try {
-               int S1, S2, S12, tempA, tempB, min;
+               double S1, S2, S12, tempA, tempB, min;
                S1 = 0; S2 = 0; S12 = 0; tempA = 0; tempB = 0; min = 0;
                
                /*S1, S2 = number of OTUs observed or estimated in A and B 
@@ -46,7 +46,7 @@ EstOutput Lennon::getValues(vector<SharedRAbundVector*> shared) {
                return data;
        }
        catch(exception& e) {
-               errorOut(e, "Lennon", "getValues");
+               m->errorOut(e, "Lennon", "getValues");
                exit(1);
        }
 }