diff options
author | Stephen Bates <sbates@raithlin.com> | 2015-05-06 14:43:04 -0600 |
---|---|---|
committer | Stephen Bates <sbates@raithlin.com> | 2015-05-06 14:43:04 -0600 |
commit | 6aefa9b8d5be1c9425d0a30fd7e6aaeda74878a9 (patch) | |
tree | db486224859c8f50014096b8f1c229094c49de8d | |
parent | 1ff382d18946a15615be1771f98cb603a90fb07a (diff) |
Added review changes for pull request
-rw-r--r-- | mbw.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -285,9 +285,7 @@ int main(int argc, char **argv) for(testno=0; testno<MAX_TESTS; testno++) { te_sum=0; if(tests[testno]) { - for (i = (!nr_loops) ? -1 :0 ; - i<nr_loops; - i = (!nr_loops) ? i : i+1) { + for (i=0; nr_loops==0 || i<nr_loops; i++) { te=worker(asize, a, b, testno, block_size); te_sum+=te; printf("%d\t", i); |