]> git.donarmstrong.com Git - mothur.git/blobdiff - sharedjackknife.cpp
changes while testing
[mothur.git] / sharedjackknife.cpp
index 012d2067ab94e7026a9673e77287c1629beafc8d..0998db8fe3106bbb40c26dc8621d37030fb275c3 100644 (file)
@@ -88,8 +88,7 @@ EstOutput SharedJackknife::getValues(vector<SharedRAbundVector*> vectorShared){
                SharedRAbundVector* shared1 = vectorShared[0];
                SharedRAbundVector* shared2 = vectorShared[1];
                if(numGroups == -1) {
-                       globaldata = GlobalData::getInstance();
-                       numGroups = globaldata->Groups.size();
+                       numGroups = m->getNumGroups();
                }
 
                if(callCount == numGroups*(numGroups-1)/2) {
@@ -136,7 +135,7 @@ EstOutput SharedJackknife::getValues(vector<SharedRAbundVector*> vectorShared){
        }
                
        catch(exception& e) {
-               errorOut(e, "SharedJackknife", "getValues");
+               m->errorOut(e, "SharedJackknife", "getValues");
                exit(1);
        }
 }