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:
5d17ada
)
Fix MSD
author
Roland Schulz
<roland.schulz@intel.com>
Mon, 13 Aug 2018 05:24:23 +0000
(22:24 -0700)
committer
Roland Schulz
<roland.schulz@intel.com>
Mon, 13 Aug 2018 05:24:23 +0000
(22:24 -0700)
Fixes #2604
Change-Id: Ie0f1bb881d8ba1b5cc363c3645130123245c98a6
src/gromacs/gmxana/gmx_msd.cpp
patch
|
blob
|
history
diff --git
a/src/gromacs/gmxana/gmx_msd.cpp
b/src/gromacs/gmxana/gmx_msd.cpp
index 9f23157d2fed8ee14aefddc64f52d0cd7c453ef1..fab8faef8e31a1dfe3e51e4aa19289999e851ae0 100644
(file)
--- a/
src/gromacs/gmxana/gmx_msd.cpp
+++ b/
src/gromacs/gmxana/gmx_msd.cpp
@@
-104,7
+104,7
@@
static real thistime(t_corr *curr)
return curr->time[curr->nframes];
}
-static
gmx_bool
in_data(t_corr *curr, int nx00)
+static
int
in_data(t_corr *curr, int nx00)
{
return curr->nframes-curr->n_offs[nx00];
}