Commit 8edf2662 authored by Neil Kindlon's avatar Neil Kindlon
Browse files

Removed accidental copy in BinTree to fix speed

parent 3010bf53
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment