Skip to content

Commit

Permalink
- fix coreners again
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry committed Dec 15, 2017
1 parent 0c62ca7 commit 5f76986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/MyStrategy.java
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ private PlainArray calcMap(VehicleGroupInfo group) { //TODO improve logic at fin
HashMap<Point2D, Integer> cornerPushersFiltered = new HashMap<>(cornersPushers);
cornerPushersFiltered.keySet().removeIf(corner -> {
for (Point2D facPoint : allFacCounts.keySet()) {
if (facPoint.squareDistance(corner) < 3 * 4 + 2) {
if (facPoint.squareDistance(corner) < maxDistanceSquare) {
return true;
}
}
Expand Down

0 comments on commit 5f76986

Please sign in to comment.