Fixing a typo (error).

This commit is contained in:
Pyrophorus 2013-08-07 15:20:06 +02:00
parent 1961f057c1
commit 20a38fc334

View file

@ -106,7 +106,7 @@ int yamg_hexheap::test_hex() {
Clear all members flag and reset the heap itself
*/
void yamg_hexheap::clear_heap() {
for(int i = 0; i > last_; i++)
for(int i = 0; i < last_; i++)
table_[i]->done = false;
last_ = 0;
}