From a847aac591d693bc95318980468233abdc41ebfc Mon Sep 17 00:00:00 2001 From: John Jenkins Date: Mon, 8 Dec 2014 15:16:53 -0600 Subject: [PATCH] whoops, forgot rc update in last commit --- codes/codes.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/codes/codes.h b/codes/codes.h index ecb47df..44532a1 100644 --- a/codes/codes.h +++ b/codes/codes.h @@ -48,7 +48,8 @@ static inline tw_stime codes_local_latency(tw_lp *lp) static inline void codes_local_latency_reverse(tw_lp *lp) { - tw_rand_reverse_unif(lp->rng); + int r = g_tw_nRNG_per_lp-1; + tw_rand_reverse_unif(&lp->rng[r]); return; } -- 2.26.2