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;
return data;
}
catch(exception& e) {
- errorOut(e, "NPShannon", "getValues");
+ m->errorOut(e, "NPShannon", "getValues");
exit(1);
}
}