]> git.donarmstrong.com Git - mothur.git/blobdiff - mothur.h
added qvalues to metastats. fixed bug with chimera.uchime location. fixed windows...
[mothur.git] / mothur.h
index 57ece6785e1e798e310797b747e6b8d049c0113d..3b7c4599329aede91be3f6325d27df1accf77c03 100644 (file)
--- a/mothur.h
+++ b/mothur.h
@@ -189,7 +189,8 @@ void convert(const string& s, T& x, bool failIfLeftoverChars = true){
                        throw BadConversion(s);
        
 }
-
+//**********************************************************************************************************************
+template <typename T> int sgn(T val){ return (val > T(0)) - (val < T(0)); }
 //**********************************************************************************************************************
 
 template<typename T>