]> git.donarmstrong.com Git - mothur.git/blobdiff - npshannon.cpp
changed random forest output filename
[mothur.git] / npshannon.cpp
index f14f92276d3d2f770364dcd7c4953f1d7f3b67a4..a855b316964da97dd261f33ee094f014a4ed7b05 100644 (file)
@@ -18,7 +18,7 @@ EstOutput NPShannon::getValues(SAbundVector* rank){
                float npShannon = 0.0000;
        
                double maxRank = (double)rank->getMaxRank();
-               int sampled = rank->getNumSeqs();
+               double sampled = rank->getNumSeqs();
        
                double Chat = 1.0000 - (double)rank->get(1)/(double)sampled;