--- queensgui/src/containerhash.cpp 2007/07/25 19:29:51 14 +++ queensgui/src/containerhash.cpp 2007/07/25 19:39:37 15 @@ -23,7 +23,7 @@ ContainerHash::ContainerHash(GUIUpdate* update) : SolutionContainer(update) { - total = -1; + total = 0; m_size = 0; m_hashroof = max_size; for (int i=0; i< max_size; i++) @@ -125,6 +125,7 @@ int hash = m_size % max_size; solutions[hash]->push_back( boost::shared_ptr(sol) ); m_size++; + total++; }