Skip to content
Snippets Groups Projects
Commit 8edf2662 authored by Neil Kindlon's avatar Neil Kindlon
Browse files

Removed accidental copy in BinTree to fix speed

parent 3010bf53
No related branches found
No related tags found
No related merge requests found
......@@ -57,17 +57,14 @@ void BinTree::getHits(Record *record, RecordKeyVector &hitSet)
return;
}
binNumType startBin = 0;
binNumType endBin = 0;
binNumType startPos = record->getStartPos();
binNumType endPos = record->getEndPos();
startBin = (startPos >> _binFirstShift);
endBin = ((endPos-1) >> _binFirstShift);
binNumType startBin = (startPos >> _binFirstShift);
binNumType endBin = ((endPos-1) >> _binFirstShift);
const allBinsType bins = mainIter->second;
const allBinsType &bins = mainIter->second;
/* SYNOPSIS:
1. We loop through each UCSC BIN level for feature A's chrom.
......
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