From 9e8caf1e06ba7510160305da11a30d91dcfc23e5 Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Fri, 6 Sep 2024 21:10:21 +0200 Subject: reformat source code --- src/heap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/heap.c') diff --git a/src/heap.c b/src/heap.c index 091e761..45902a4 100644 --- a/src/heap.c +++ b/src/heap.c @@ -277,11 +277,11 @@ main(void) // Kapitel 5.10, Seite 372 ff. T heap[20] = { 18, 18, 16, 9, 7, 1, 9, 3, 7, 5 }; - //heapify(heap, 10); + // heapify(heap, 10); assert(is_heap(heap, 10)); print_heap(heap, 10); - //heap[10] = 13; fixup(heap, 10); + // heap[10] = 13; fixup(heap, 10); swap(heap, 0, 9); fixdown(heap, 0, 9); -- cgit v1.3