Skip to content

Commit fa5ca3c

Browse files
committed
Fix typo in url, variable name
1 parent 8162242 commit fa5ca3c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PathPlanning/BreadthFirstSearch/breadth_first_search.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
author: Erwin Lejeune (@spida_rwin)
66
7-
See Wikipedia article (https://en.wikipedia.org/wiki/Breadth-First_search)
7+
See Wikipedia article (https://en.wikipedia.org/wiki/Breadth-first_search)
88
99
"""
1010

@@ -186,8 +186,8 @@ def calc_obstacle_map(self, ox, oy):
186186
print("ywidth:", self.ywidth)
187187

188188
# obstacle map generation
189-
self.obmap = [[False for i in range(self.ywidth)]
190-
for i in range(self.xwidth)]
189+
self.obmap = [[False for _ in range(self.ywidth)]
190+
for _ in range(self.xwidth)]
191191
for ix in range(self.xwidth):
192192
x = self.calc_grid_position(ix, self.minx)
193193
for iy in range(self.ywidth):

0 commit comments

Comments
 (0)