From 0358f0e6e3a553aa75ef5e81d49a78acbd32fc04 Mon Sep 17 00:00:00 2001 From: Stathis Kamperis Date: Sat, 11 Aug 2007 22:38:24 +0300 Subject: [PATCH] Cosmetic changes --- pthreads/matrixmul.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pthreads/matrixmul.c b/pthreads/matrixmul.c index 9e2d6c3..dc60e80 100755 --- a/pthreads/matrixmul.c +++ b/pthreads/matrixmul.c @@ -229,7 +229,7 @@ void *mulvect(void *arg) col = *((int *)arg + 1); mat3->data[row][col] = 0; - for (i=0; icols; i++) + for (i = 0; i < mat1->cols; i++) mat3->data[row][col] += mat1->data[row][i] * mat2->data[i][col]; pthread_exit(NULL); -- 2.11.4.GIT