Fix issue with double count
This commit is contained in:
parent
3dd6875ea5
commit
0199927f62
1 changed files with 0 additions and 2 deletions
|
@ -235,7 +235,6 @@ public class RoutingContext {
|
||||||
|
|
||||||
private int searchSubregionTile(RouteSubregion subregion){
|
private int searchSubregionTile(RouteSubregion subregion){
|
||||||
RoutingSubregionTile key = new RoutingSubregionTile(subregion);
|
RoutingSubregionTile key = new RoutingSubregionTile(subregion);
|
||||||
long now = System.nanoTime();
|
|
||||||
int ind = Collections.binarySearch(subregionTiles, key, new Comparator<RoutingSubregionTile>() {
|
int ind = Collections.binarySearch(subregionTiles, key, new Comparator<RoutingSubregionTile>() {
|
||||||
@Override
|
@Override
|
||||||
public int compare(RoutingSubregionTile o1, RoutingSubregionTile o2) {
|
public int compare(RoutingSubregionTile o1, RoutingSubregionTile o2) {
|
||||||
|
@ -256,7 +255,6 @@ public class RoutingContext {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
timeToLoadHeaders += (System.nanoTime() - now);
|
|
||||||
return ind;
|
return ind;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue