src/utils_heap.c: Fix calculation of the parent's index.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Thu, 19 Aug 2010 13:00:26 +0000 (15:00 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Thu, 19 Aug 2010 13:00:26 +0000 (15:00 +0200)
commit69149f2f18463f82a567ca27ff1eb2fc4bb8dc3d
treec27f0c36cc340a9444f46bb0693656457aa91c69
parentb76b0341b759e4e2dbb2abd46d60b8decdf2fd6d
src/utils_heap.c: Fix calculation of the parent's index.

This resulted in the "upwards" reheap function to return prematurely,
leaving the heap condition violated.
src/utils_heap.c