We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c162ee3 commit be890f3Copy full SHA for be890f3
src/rgfa.hpp
@@ -126,7 +126,7 @@ class RGFACover {
126
const string* name;
127
int64_t trav_idx;
128
pair<int64_t, int64_t> fragment;
129
- bool operator<(const RankedFragment& f2) {
+ bool operator<(const RankedFragment& f2) const {
130
// note: name comparison is flipped because we want to select high coverage / low name
131
return this->coverage < f2.coverage || (this->coverage == f2.coverage && *this->name > *f2.name);
132
}
0 commit comments