}
}
catch(exception& e) {
- cout << "Standard Error: " << e.what() << " has occurred in the Jackknife class Function getAMatrix. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
+ m->errorOut(e, "Jackknife", "getAMatrix");
exit(1);
}
- catch(...) {
- cout << "An unknown error has occurred in the Jackknife class function getAMatrix. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
- exit(1);
- }
}
/**************************************************************************************************/
return n;
}
catch(exception& e) {
- cout << "Standard Error: " << e.what() << " has occurred in the Jackknife class Function CN. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
+ m->errorOut(e, "Jackknife", "CN");
exit(1);
}
- catch(...) {
- cout << "An unknown error has occurred in the Jackknife class function CN. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
- exit(1);
- }
}
/***********************************************************************/
}
ci = 1.96 * sqrt(ci - jack);
}
- else if(k=1){
+ else if(k==1){
jack = N[1];
ci = 1.96*sqrt(variance[1]);
}else{
return data;
}
catch(exception& e) {
- cout << "Standard Error: " << e.what() << " has occurred in the Jackknife class Function getValues. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
+ m->errorOut(e, "Jackknife", "getValues");
exit(1);
}
- catch(...) {
- cout << "An unknown error has occurred in the Jackknife class function getValues. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
- exit(1);
- }
}
/***********************************************************************/