From f42886c46e17e6e429efa36aab69e0cbd22cf87a Mon Sep 17 00:00:00 2001 From: Michael Andreen Date: Fri, 6 May 2005 21:11:59 +0000 Subject: [PATCH] Forgot to add the start node --- planner.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/planner.cpp b/planner.cpp index 5e1719e..b675ce0 100644 --- a/planner.cpp +++ b/planner.cpp @@ -7,6 +7,7 @@ using namespace __gnu_cxx; Planner::Planner(std::vector actions, literals init, literals goal){ _start = new Node(Action("",literals(), init)); + addNode(_start); Node* finish = new Node(Action("",goal,literals())); for(vector::iterator action = actions.begin(); action != actions.end(); ++action){ -- 2.39.2