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:
b8dfa88
)
Fix Clang 3.1 warning
author
Roland Schulz
<roland@utk.edu>
Sun, 27 May 2012 02:51:05 +0000
(22:51 -0400)
committer
Roland Schulz
<roland@utk.edu>
Sun, 27 May 2012 02:55:22 +0000
(22:55 -0400)
grid_spacing is an integer and thus it was always set to 0
Change-Id: Id10bccdadef8f2630631d638e94bd27d78774536
src/gmxlib/tpxio.c
patch
|
blob
|
history
diff --git
a/src/gmxlib/tpxio.c
b/src/gmxlib/tpxio.c
index 59fed9f4207f64b7ccd6ff8501ffa388eca059ac..91c939964af55e6f3490f40acb5210431c7bcb35 100644
(file)
--- a/
src/gmxlib/tpxio.c
+++ b/
src/gmxlib/tpxio.c
@@
-1898,7
+1898,7
@@
static void do_mtop(t_fileio *fio, gmx_mtop_t *mtop,gmx_bool bRead,
else
{
mtop->ffparams.cmap_grid.ngrid = 0;
- mtop->ffparams.cmap_grid.grid_spacing = 0
.1
;
+ mtop->ffparams.cmap_grid.grid_spacing = 0;
mtop->ffparams.cmap_grid.cmapdata = NULL;
}