Skip to content
Snippets Groups Projects
Commit 6744fd0c authored by Aaron Quinlan's avatar Aaron Quinlan
Browse files

Merge pull request #165 from nkindlon/master

Fixed bug164, closest runs slower with -id
parents df4e52be 4983727f
No related branches found
No related tags found
No related merge requests found
......@@ -189,13 +189,11 @@ CloseSweep::rateOvlpType CloseSweep::considerRecord(const Record *cacheRec, int
}
// HIT IS DOWNSTREAM.
// MUST FIRST DETERMINE WHETHER TO STOP SCANNING.
if (currDist> abs(_minDownstreamDist[dbIdx])) {
if (_context->ignoreDownstream() || currDist> abs(_minDownstreamDist[dbIdx])) {
stopScanning = true;
return IGNORE;
}
if (_context->ignoreDownstream()) {
return IGNORE;
}
//Still here? Valid hit.
if (currDist <= abs(_minDownstreamDist[dbIdx])) {
if (currDist< abs(_minDownstreamDist[dbIdx])) {
......
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