X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=sharedthetayc.cpp;fp=sharedthetayc.cpp;h=315a61f1310f8381e7fab74546f059d1823f11f7;hb=5a7b1d45e9604becce2410333fcc71de818e3782;hp=ed18d9252ed52ef126355336f04bd04b67b0d7c3;hpb=7ecb96ba54980d303fa066b4c29dae1e5a5be5b9;p=mothur.git diff --git a/sharedthetayc.cpp b/sharedthetayc.cpp index ed18d92..315a61f 100644 --- a/sharedthetayc.cpp +++ b/sharedthetayc.cpp @@ -74,6 +74,7 @@ EstOutput ThetaYC::getValues(vector shared) { if (isnan(data[1]) || isinf(data[1])) { data[1] = 0; } if (isnan(data[2]) || isinf(data[2])) { data[2] = 0; } + data[0] = 1.0 - data[0]; return data; } catch(exception& e) {