* fixing typos in accidental checkin

From-SVN: r88463
This commit is contained in:
Frank Ch. Eigler 2004-10-03 21:17:29 +00:00
parent 3f75a25471
commit bf50d091ca
1 changed files with 2 additions and 2 deletions

View File

@ -7,14 +7,14 @@ char a[SIZE];
int main ()
{
int i, j=0;
int i, j=0, k;
int a_before_b = (& a[0] < & b[0]);
/* Rather than iterating linearly, which would allow loop unrolling
and mapping to pointer manipulation, we traverse the "joined"
arrays in some random order. */
for (i=0; i<SIZE*2; i++)
{
k=rand()%(SIZE*2))
k = rand() % (SIZE*2);
j += (a_before_b ? a[k] : b[k]);
}
return j;