]> git.donarmstrong.com Git - mothur.git/blobdiff - efron.cpp
fixed bug in hcluster command
[mothur.git] / efron.cpp
index e88b025d9e3ff2bbd4ffc2ed5db463deb64f9d5f..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,14 +27,10 @@ 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);
-       }       
-};
+}
 
 
 /***********************************************************************/