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:
7216e0a
)
Fixed uninitialized variable warning in grompp.c
author
Erik Lindahl
<lindahl@cbr.su.se>
Sat, 9 Oct 2010 09:56:53 +0000
(11:56 +0200)
committer
Erik Lindahl
<lindahl@cbr.su.se>
Sat, 9 Oct 2010 09:56:53 +0000
(11:56 +0200)
src/kernel/grompp.c
patch
|
blob
|
history
diff --git
a/src/kernel/grompp.c
b/src/kernel/grompp.c
index a2a6021261e47d4b266ccf258d7ba46e6128fb03..48353f6e70f6e339c93ba3a7e44356f011564938 100644
(file)
--- a/
src/kernel/grompp.c
+++ b/
src/kernel/grompp.c
@@
-222,6
+222,9
@@
static void check_bonds_timestep(gmx_mtop_t *mtop,double dt,warninp_t wi)
limit2 = sqr(min_steps_note*dt);
+ w_a1 = w_a2 = -1;
+ w_period2 = -1.0;
+
w_moltype = NULL;
for(molt=0; molt<mtop->nmoltype; molt++)
{