cDisplays.push_back(new CollectDisplay(new Chao1(), new ThreeColumnFile(fileNameRoot+"chao")));
}else if (globaldata->Estimators[i] == "ace") {
convert(globaldata->getAbund(), abund);
- cDisplays.push_back(new CollectDisplay(new Ace(), new ThreeColumnFile(fileNameRoot+"ace")));
+ cDisplays.push_back(new CollectDisplay(new Ace(abund), new ThreeColumnFile(fileNameRoot+"ace")));
}else if (globaldata->Estimators[i] == "jack") {
cDisplays.push_back(new CollectDisplay(new Jackknife(), new ThreeColumnFile(fileNameRoot+"jack")));
}else if (globaldata->Estimators[i] == "shannon") {
for(i = globaldata->labels.begin(); i != globaldata->labels.end(); ++i)
if(orderList.count(*i) == 0)
cout << "'" << *i << "'" << " is not a valid label.\n";
- globaldata->clearLabels();
for(int i=0;i<cDisplays.size();i++){ delete cDisplays[i]; }
return 0;
}