biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix GCC 4.9 warnings
[alexxy/gromacs.git]
/
src
/
gromacs
/
gmxlib
/
nonbonded
/
nonbonded.c
diff --git
a/src/gromacs/gmxlib/nonbonded/nonbonded.c
b/src/gromacs/gmxlib/nonbonded/nonbonded.c
index ad687f77b44fcf9e28129695525163e37412859e..be1c17b36eae03a123f2c92853349a1cc1a2354e 100644
(file)
--- a/
src/gromacs/gmxlib/nonbonded/nonbonded.c
+++ b/
src/gromacs/gmxlib/nonbonded/nonbonded.c
@@
-377,7
+377,7
@@
void do_nonbonded(t_forcerec *fr,
nlist = nblists->nlist_sr;
f = f_shortrange;
}
- else
if (range == 1)
+ else
{
/* Long-range */
if (!(flags & GMX_NONBONDED_DO_LR))