Skip to content
Snippets Groups Projects
Commit f0fb3929 authored by Jayant Khatkar's avatar Jayant Khatkar
Browse files

do not need deep copy for null state

parent 7e889717
Branches
Tags
No related merge requests found
......@@ -178,7 +178,7 @@ class Tree:
def _null_state(self, state):
temp = deepcopy(state)
temp = copy(state)
temp[self.id] = self.graph.node[1]["state"] # Null state is if robot still at root node
return temp
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment