From: Michael Andreen Date: Fri, 6 May 2005 21:11:59 +0000 (+0000) Subject: Forgot to add the start node X-Git-Url: https://ruin.nu/git/?p=popboot.git;a=commitdiff_plain;h=f42886c46e17e6e429efa36aab69e0cbd22cf87a Forgot to add the start node --- 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){