nodestack: bugfix - clear backtracking properly
authorBrian Norris <banorris@uci.edu>
Thu, 28 Feb 2013 18:30:39 +0000 (10:30 -0800)
committerBrian Norris <banorris@uci.edu>
Thu, 28 Feb 2013 18:30:39 +0000 (10:30 -0800)
nodestack.cc

index e6f0269c0c2720a09d1c74882cb597a8afefd044..00cc30f8d7efb22cf9e5b110d4628ac83db55e0f 100644 (file)
@@ -285,6 +285,7 @@ void Node::clear_backtracking()
                backtrack[i] = false;
        for (unsigned int i = 0; i < explored_children.size(); i++)
                explored_children[i] = false;
+       numBacktracks = 0;
 }
 
 bool Node::is_enabled(Thread *t) const