X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=homovacommand.cpp;h=488b68e0b6b69a8eb8e351d39be9ff09193fb36f;hb=a0f1fca79d2ddfa7ad36b4485039c68b5704fe8d;hp=49b8b64a0ebea8d5c6dae20118a19e0b814806b1;hpb=1a5c2356c1b955c6ec024b2baf9f46377ee7c72e;p=mothur.git diff --git a/homovacommand.cpp b/homovacommand.cpp index 49b8b64..488b68e 100644 --- a/homovacommand.cpp +++ b/homovacommand.cpp @@ -308,7 +308,7 @@ double HomovaCommand::runHOMOVA(ofstream& HOMOVAFile, map > vector ssWithinRandVector; map > randomizedGroup = getRandomizedGroups(groupSampleMap); double bValueRand = calcBValue(randomizedGroup, ssWithinRandVector); - if(bValueRand > bValueOrig){ counter++; } + if(bValueRand >= bValueOrig){ counter++; } } double pValue = (double) counter / (double) iters;