summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
authorroot <root>2008-05-21 00:26:01 +0000
committerroot <root>2008-05-21 00:26:01 +0000
commit4882be2755ec7953a6d136cc182ccb55ce71f2f3 (patch)
tree922ac9b4f08e7e3cfb8a94ce6389d82da9cea569 /ev.c
parent0dbf95cdb88bc0b17ce3e02ca405c1905b98c344 (diff)
*** empty log message ***
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ev.c b/ev.c
index abff2a2..352c3f1 100644
--- a/ev.c
+++ b/ev.c
@@ -843,10 +843,10 @@ downheap (ANHE *heap, int N, int k)
// find minimum child
if (expect_true (pos + DHEAP - 1 < E))
{
- /* fast path */ (minpos = pos + 0), (minat = ANHE_at (*minpos));
- if (ANHE_at (pos [1]) < minat) (minpos = pos + 1), (minat = ANHE_at (*minpos));
- if (ANHE_at (pos [2]) < minat) (minpos = pos + 2), (minat = ANHE_at (*minpos));
- if (ANHE_at (pos [3]) < minat) (minpos = pos + 3), (minat = ANHE_at (*minpos));
+ /* fast path */ (minpos = pos + 0), (minat = ANHE_at (*minpos));
+ if ( ANHE_at (pos [1]) < minat) (minpos = pos + 1), (minat = ANHE_at (*minpos));
+ if ( ANHE_at (pos [2]) < minat) (minpos = pos + 2), (minat = ANHE_at (*minpos));
+ if ( ANHE_at (pos [3]) < minat) (minpos = pos + 3), (minat = ANHE_at (*minpos));
}
else if (pos < E)
{