From: jzhou Date: Wed, 4 Feb 2009 21:02:49 +0000 (+0000) Subject: bug fix X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=aafff4986255339a319efb3162e8a9cef6e03df7;p=IRC.git bug fix --- 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) {