]> git.donarmstrong.com Git - mothur.git/blobdiff - sharedordervector.h
added the Calculators Thomas made in the fall. Added parameter and command error...
[mothur.git] / sharedordervector.h
index 94d91c5756da05a608253694a307ad6ea931baed..a530ad65289a67a9c92cbeeb55c0ce661ef1ac8c 100644 (file)
@@ -23,6 +23,9 @@ struct individual {
                string group;
                int bin;
                int abundance;
+               bool operator()(const individual& i1, const individual& i2) {
+               return (i1.abundance > i2.abundance);
+               }
 };
 
 #include "sabundvector.hpp"