]> git.donarmstrong.com Git - mothur.git/blobdiff - efron.cpp
added logfile feature
[mothur.git] / efron.cpp
index 62d924bb7a4641bc85de3802b6ca1f45d8b06a8f..9ddcdfa6307a4a40e27cb2281fe2fc70389371fd 100644 (file)
--- a/efron.cpp
+++ b/efron.cpp
@@ -8,7 +8,6 @@
  */
 
 #include "efron.h"
-#include <math.h>
 
 /***********************************************************************/
 EstOutput Efron::getValues(SAbundVector* rank){
@@ -28,13 +27,9 @@ EstOutput Efron::getValues(SAbundVector* rank){
                return data;
        }
        catch(exception& e) {
-               cout << "Standard Error: " << e.what() << " has occurred in the Coverage class Function getValues. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
+               errorOut(e, "Efron", "getValues");
                exit(1);
        }
-       catch(...) {
-               cout << "An unknown error has occurred in the Coverage class function getValues. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
-               exit(1);
-       }       
 }