projects
/
morpheus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fdd3e5
)
Fix typo
author
Benjamin Auder
<benjamin.auder@somewhere>
Tue, 14 Jan 2020 22:38:06 +0000
(23:38 +0100)
committer
Benjamin Auder
<benjamin.auder@somewhere>
Tue, 14 Jan 2020 22:38:06 +0000
(23:38 +0100)
pkg/src/functions.c
patch
|
blob
|
blame
|
history
diff --git
a/pkg/src/functions.c
b/pkg/src/functions.c
index
6444b86
..
913997b
100644
(file)
--- 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);