]> git.donarmstrong.com Git - mothur.git/blobdiff - sharedthetan.cpp
changes to beta diversity calculators
[mothur.git] / sharedthetan.cpp
index 361c7b26ebc52937a6fcd2f890da162a4a3cd9b3..7c42a18d662f9b8d976a39515a47c4e79d509e22 100644 (file)
@@ -46,7 +46,7 @@ EstOutput ThetaN::getValues(vector<SharedRAbundVector*> shared) {
                
                if (isnan(thetaN) || isinf(thetaN)) { thetaN = 0; }
                
-               data[0] = thetaN;
+               data[0] = 1.0 - thetaN;
                
                return data;
        }