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:
338a0d5
)
Fixed first statemement occuring before variable declarations in gmx_pme_error()
author
Erik Lindahl
<lindahl@cbr.su.se>
Fri, 27 Aug 2010 08:58:36 +0000
(10:58 +0200)
committer
Erik Lindahl
<lindahl@cbr.su.se>
Fri, 27 Aug 2010 08:58:36 +0000
(10:58 +0200)
src/tools/gmx_pme_error.c
patch
|
blob
|
history
diff --git
a/src/tools/gmx_pme_error.c
b/src/tools/gmx_pme_error.c
index 5d78ea48969e865cfd1ba87ccfebf231f37079ed..028e63ea0dab7d6815088d29caa6d8066e5611ad 100644
(file)
--- a/
src/tools/gmx_pme_error.c
+++ b/
src/tools/gmx_pme_error.c
@@
-476,7
+476,6
@@
static real estimate_reciprocal(
gmx_rng_t rng=NULL;
/*rng=gmx_rng_init(gmx_rng_make_seed()); */
- rng=gmx_rng_init(cr->nodeid);
/* Index variables for parallel work distribution */
int startglobal,stopglobal;
@@
-491,7
+490,9
@@
static real estimate_reciprocal(
double t1=0.0;
double t2=0.0;
#endif
-
+
+ rng=gmx_rng_init(cr->nodeid);
+
clear_rvec(gridpx);
clear_rvec(gridpxy);
clear_rvec(gridp);