From aafff4986255339a319efb3162e8a9cef6e03df7 Mon Sep 17 00:00:00 2001 From: jzhou Date: Wed, 4 Feb 2009 21:02:49 +0000 Subject: [PATCH] bug fix --- Robust/src/Runtime/multicoretask.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Robust/src/Runtime/multicoretask.c b/Robust/src/Runtime/multicoretask.c index ef15f7be..09d817e6 100644 --- a/Robust/src/Runtime/multicoretask.c +++ b/Robust/src/Runtime/multicoretask.c @@ -186,7 +186,7 @@ int main(int argc, char **argv) { bool allStall = true; int sumsendobj = 0; - corenum = raw_get_abs_pos_x() + 4 * raw_get_abs_pos_y(); + corenum = raw_get_abs_pos_x() + raw_get_array_size_x() * raw_get_abs_pos_y(); // initialize the arrays if(STARTUPCORE == corenum) { -- 2.34.1