From 06ce382d160021fbc8083d0bd48b2735504a39d5 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 8 Feb 2011 22:41:19 +0100 Subject: More work on reflist --- tests/list_check.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'tests') diff --git a/tests/list_check.c b/tests/list_check.c index 22ef01e1..a50a8d70 100644 --- a/tests/list_check.c +++ b/tests/list_check.c @@ -54,11 +54,11 @@ static int test_lists(int num_items) int j; int duplicate = 0; - //if ( random() > RAND_MAX/2 ) { + if ( random() > RAND_MAX/2 ) { h = RANDOM_INDEX; k = RANDOM_INDEX; l = RANDOM_INDEX; - //} /* else use the same as last time */ + } /* else use the same as last time */ /* Count the number of times this reflection appeared before */ for ( j=0; j