From de1a19fd8f30dd744eb93afa1fc2c0d7575ad63e Mon Sep 17 00:00:00 2001 From: Benjamin Auder <benjamin.auder@somewhere> Date: Tue, 14 Jan 2020 23:38:06 +0100 Subject: [PATCH] Fix typo --- pkg/src/functions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/src/functions.c b/pkg/src/functions.c index 6444b86..913997b 100644 --- a/pkg/src/functions.c +++ b/pkg/src/functions.c @@ -114,7 +114,7 @@ void Compute_Omega(double* X, int* Y, double* M, int* pnc, int* pn, int* pd, dou // Symmetrize W: W[j,k] = W[k,j] for k > j for (int j=0; j<dim; j++) { - for (int k=j+1: k<dim; k++) + for (int k=j+1; k<dim; k++) W[mi(j,k,dim,dim)] = W[mi(k,j,dim,dim)]; } free(g); -- 2.44.0