Skip to content

Commit

Permalink
1.fix gtfComp parameter type
Browse files Browse the repository at this point in the history
  • Loading branch information
Griffan committed Jun 4, 2019
1 parent 8ab2cf7 commit db43bef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gtf.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ class gtfElement {
};

struct gtfComp {
bool operator()(const gtfElement* lhs, const gtfElement* rhs) const {
template<typename T>
bool operator()(const T* lhs, const T* rhs) const {
if ( lhs->locus == rhs->locus ) {
return ((int64_t)rhs - (int64_t)lhs > 0);
}
Expand Down

0 comments on commit db43bef

Please sign in to comment.