biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0119f5e
)
Removed static from variables in gmx_lapack
author
Berk Hess
<hess@kth.se>
Sat, 23 May 2015 15:11:21 +0000
(17:11 +0200)
committer
Berk Hess
<hess@kth.se>
Sat, 23 May 2015 15:11:21 +0000
(17:11 +0200)
One function in gmx_lapack declared variables as static (without
reason), which was not thread safe.
Change-Id: Ib8177fc33755a63148882e003b6ea6c61e5e42c8
src/gromacs/linearalgebra/gmx_lapack/dlasq5.c
patch
|
blob
|
history
diff --git
a/src/gromacs/linearalgebra/gmx_lapack/dlasq5.c
b/src/gromacs/linearalgebra/gmx_lapack/dlasq5.c
index a854d19575b50fd0c2726deba2763fc194f43789..853a86a60245ef3a295fd634095c5dd03f948e27 100644
(file)
--- a/
src/gromacs/linearalgebra/gmx_lapack/dlasq5.c
+++ b/
src/gromacs/linearalgebra/gmx_lapack/dlasq5.c
@@
-18,9
+18,9
@@
F77_FUNC(dlasq5,DLASQ5)(int *i0,
int i__1;
double d__1, d__2;
-
static
double d__;
-
static int
j4, j4p2;
-
static
double emin, temp;
+ double d__;
+
int
j4, j4p2;
+ double emin, temp;
--z__;