From b17acc2e5f9c31a93164897c64c698fe8e490765 Mon Sep 17 00:00:00 2001 From: Cyril SIX Date: Tue, 17 Apr 2018 16:33:11 +0200 Subject: MPPA - Forgot to uncomment debugging section of prng test --- test/mppa/lib/prng.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'test/mppa') diff --git a/test/mppa/lib/prng.c b/test/mppa/lib/prng.c index c902cc3e..dfa97834 100644 --- a/test/mppa/lib/prng.c +++ b/test/mppa/lib/prng.c @@ -9,13 +9,11 @@ static uint64_t current; void srand(uint64_t seed){ - //seed = current; - current=100; + seed = current; } uint64_t randlong(void){ - //return (current = MULTIPLIER * current + INCREMENT); - return current--; + return (current = MULTIPLIER * current + INCREMENT); } #ifdef __UNIT_TEST_PRNG__ -- cgit