Browse Source

*** empty log message ***

master
Marc Alexander Lehmann 12 years ago
parent
commit
b54ae43bbd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ev.c

+ 1
- 1
ev.c View File

@ -1059,7 +1059,7 @@ downheap (ANHE *heap, int N, int k)
{
int c = k << 1;
if (c > N + HEAP0 - 1)
if (c >= N + HEAP0)
break;
c += c + 1 < N + HEAP0 && ANHE_at (heap [c]) > ANHE_at (heap [c + 1])


Loading…
Cancel
Save