sum += 1/(double)i;
return sum;
}
-
+/***********************************************************************/
RAbundVector BStick::getRAbundVector(SAbundVector* rank){
vector <int> rData;
int mr = 1;
int ns = 0;
for(int i = rank->size()-1; i > 0; i--) {
- int cur = rank->get(i);
+ double cur = rank->get(i);
if(mr == 1 && cur > 0)
mr = i;
nb += cur;