]> git.donarmstrong.com Git - mothur.git/blobdiff - sharedjclass.cpp
added mothur executable to cvs
[mothur.git] / sharedjclass.cpp
index 051f05ef9e8ecee0416694285cf8d598d01db9f4..ede4e31264d49b1cc26ccb4e684262ec6f1c1d3e 100644 (file)
@@ -13,7 +13,7 @@
 
 EstOutput Jclass::getValues(vector<SharedRAbundVector*> shared) {
        try {
-               int S1, S2, S12, tempA, tempB;
+               double S1, S2, S12, tempA, tempB;
                S1 = 0; S2 = 0; S12 = 0; tempA = 0; tempB = 0; 
                
                /*S1, S2 = number of OTUs observed or estimated in A and B 
@@ -41,7 +41,7 @@ EstOutput Jclass::getValues(vector<SharedRAbundVector*> shared) {
                return data;
        }
        catch(exception& e) {
-               errorOut(e, "Jclass", "getValues");
+               m->errorOut(e, "Jclass", "getValues");
                exit(1);
        }
 }