Skip to content

Commit ab05ac6

Browse files
committed
Fix typo in url and variable names
1 parent 952cff6 commit ab05ac6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PathPlanning/DepthFirstSearch/depth_first_search.py

+3-3
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/depth-First_search)
7+
See Wikipedia article (https://en.wikipedia.org/wiki/Depth-first_search)
88
99
"""
1010

@@ -188,8 +188,8 @@ def calc_obstacle_map(self, ox, oy):
188188
print("ywidth:", self.ywidth)
189189

190190
# obstacle map generation
191-
self.obmap = [[False for i in range(self.ywidth)]
192-
for i in range(self.xwidth)]
191+
self.obmap = [[False for _ in range(self.ywidth)]
192+
for _ in range(self.xwidth)]
193193
for ix in range(self.xwidth):
194194
x = self.calc_grid_position(ix, self.minx)
195195
for iy in range(self.ywidth):

0 commit comments

Comments
 (0)