diff options
author | root <root> | 2009-07-26 04:43:03 +0000 |
---|---|---|
committer | root <root> | 2009-07-26 04:43:03 +0000 |
commit | 02de49a42b76531a53edcb894a048865ee7fb3f0 (patch) | |
tree | eee3a3ce052679757a6b39f139949e68e6495c64 | |
parent | 9535f9b00601557a96ccca2a462af56578f616cc (diff) |
*** empty log message ***
-rw-r--r-- | ev.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1105,7 +1105,7 @@ upheap (ANHE *heap, int k) inline_size void adjustheap (ANHE *heap, int N, int k) { - if (k > HEAP0 && ANHE_at (heap [HPARENT (k)]) >= ANHE_at (heap [k])) + if (k > HEAP0 && ANHE_at (heap [k]) <= ANHE_at (heap [HPARENT (k)])) upheap (heap, k); else downheap (heap, N, k); |