From: Benjamin Auder <benjamin.auder@somewhere> Date: Tue, 14 Jan 2020 22:38:06 +0000 (+0100) Subject: Fix typo X-Git-Url: https://git.auder.net/%7B%7B%20asset%28%27mixstore/images/assets/current/doc/config.php?a=commitdiff_plain;h=de1a19fd8f30dd744eb93afa1fc2c0d7575ad63e;p=morpheus.git Fix typo --- 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);