]> git.donarmstrong.com Git - mothur.git/blobdiff - sharedthetayc.cpp
changes while testing
[mothur.git] / sharedthetayc.cpp
index 6c0f6c7f91bf46bf314c7e16cfcf6997bed4f388..864c6e63712cdc78d2cc0320ff2869c6deff196f 100644 (file)
@@ -75,6 +75,10 @@ EstOutput ThetaYC::getValues(vector<SharedRAbundVector*> shared) {
                if (isnan(data[2]) || isinf(data[2])) { data[2] = 0; }
                
                data[0] = 1.0 - data[0];
+        double hold = data[1];
+        data[1] = 1.0 - data[2];
+        data[2] = 1.0 - hold;
+        
                return data;
        }
        catch(exception& e) {