Skip to content

Commit e18799c

Browse files
authored
modify end node's state (AtsushiSakai#656)
1 parent b9345da commit e18799c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PathPlanning/DStar/dstar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def run(self, start, end):
160160
rx = []
161161
ry = []
162162

163-
self.open_list.add(end)
163+
self.insert(end, 0.0)
164164

165165
while True:
166166
self.process_state()

0 commit comments

Comments
 (0)