Skip to content
Snippets Groups Projects
Commit 96e3b955 authored by Aaron's avatar Aaron
Browse files

Fixed bug in closestBed when B feature's end equal to A feature's start.

parent 96e2ac60
No related branches found
No related tags found
No related merge requests found
......@@ -112,7 +112,7 @@ void BedClosest::FindWindowOverlaps(BED &a, vector<BED> &hits) {
}
}
// the hit is to the "left" of A
else if (h->end < a.start){
else if (h->end <= a.start){
if ((a.start - h->end) < minDistance) {
minDistance = a.start - h->end;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment