Merge pull request #1500 from martin-frbg/issue1474

Correct index variables used in MFlops calculation
This commit is contained in:
Martin Kroeker 2018-03-28 09:15:34 +02:00 committed by GitHub
commit 07ed01e97f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ int main(int argc, char *argv[]){
timeg = time1/loops; timeg = time1/loops;
fprintf(stderr, fprintf(stderr,
" %10.2f MFlops %10.6f sec\n", " %10.2f MFlops %10.6f sec\n",
COMPSIZE * COMPSIZE * 2. * (double)m * (double)m * (double)n / timeg * 1.e-6, time1); COMPSIZE * COMPSIZE * 2. * (double)k * (double)m * (double)n / timeg * 1.e-6, time1);
} }