Skip to content

Commit 0400ce3

Browse files
committed
Replace meaningless variable name
1 parent 6f358ad commit 0400ce3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PathPlanning/BidirectionalAStar/bidirectional_a_star.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,8 @@ def calc_obstacle_map(self, ox, oy):
256256
print("ywidth:", self.ywidth)
257257

258258
# obstacle map generation
259-
self.obmap = [[False for i in range(self.ywidth)]
260-
for i in range(self.xwidth)]
259+
self.obmap = [[False for _ in range(self.ywidth)]
260+
for _ in range(self.xwidth)]
261261
for ix in range(self.xwidth):
262262
x = self.calc_grid_position(ix, self.minx)
263263
for iy in range(self.ywidth):

0 commit comments

Comments
 (0)