From d02a0a9b6bb301033c3eb01a51095c6c00fb601b Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 7 Mar 2014 17:24:49 +0000 Subject: [PATCH] mix up the order --- main.c | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/main.c b/main.c index e093311..cbc7885 100644 --- a/main.c +++ b/main.c @@ -13,6 +13,8 @@ typedef uint32_t AdjWord; #define PRADJ "08"PRIx32 static int n, m; +static AdjWord *adjmatrix_counters; +static AdjWord *adjmatrix_offsets; static AdjWord *adjmatrix; static AdjWord adjall; @@ -27,9 +29,14 @@ static AdjWord *xalloc_adjmatrix(void) { } static void prep(void) { + int i; adjall = ~((~(AdjWord)0) << m); adjmatrix = xalloc_adjmatrix(); + adjmatrix_counters = xalloc_adjmatrix(); + adjmatrix_offsets = xalloc_adjmatrix(); glp_term_out(GLP_OFF); + for (i=0; i= n) { + int ii; + for (ii=0; ii