X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=sharedordervector.h;h=a530ad65289a67a9c92cbeeb55c0ce661ef1ac8c;hp=94d91c5756da05a608253694a307ad6ea931baed;hb=eb1c88346fb246e95a6b38935b103f95e38b82ca;hpb=d53f63d7e0d9c3feeb8ded5a74e6c150fae50fe9 diff --git a/sharedordervector.h b/sharedordervector.h index 94d91c5..a530ad6 100644 --- a/sharedordervector.h +++ b/sharedordervector.h @@ -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"