}
}
- cerr << "Number of nodes: " << _addedNodes.size() << endl;
- //Clearing the init vector, effects will be added below.
+ //Clearing the init and goal vectors, new effects will be added below.
+ _init.clear();
_goal.clear();
Preconditions goal = _finish->preconditions();
for (Preconditions::const_iterator precond = goal.begin(); precond != goal.end(); ++precond){