X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=npshannon.cpp;h=73dd834748cedde6b6c12333f02f682b487bc7e5;hb=de2dc9fb831f569b823031d0730f5a0d739e8290;hp=faabc9874dbcd4b08739dc66cf2e8728c710fa48;hpb=e4827e0945cbda536064e5a345996b2a7dfcbb81;p=mothur.git diff --git a/npshannon.cpp b/npshannon.cpp index faabc98..73dd834 100644 --- a/npshannon.cpp +++ b/npshannon.cpp @@ -28,7 +28,7 @@ EstOutput NPShannon::getValues(SAbundVector* rank){ double ChatPi = Chat*pi; if(ChatPi>0){ npShannon += rank->get(i) * ChatPi*log(ChatPi)/(1-pow(1-ChatPi,(double)sampled)); - cout << ChatPi << '\t' << rank->get(i) * ChatPi*log(ChatPi)/(1-pow(1-ChatPi,(double)sampled)) << endl; + //cout << ChatPi << '\t' << rank->get(i) * ChatPi*log(ChatPi)/(1-pow(1-ChatPi,(double)sampled)) << endl; } } npShannon = -npShannon;