Fix MSD
authorRoland Schulz <roland.schulz@intel.com>
Mon, 13 Aug 2018 05:24:23 +0000 (22:24 -0700)
committerRoland 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

index 9f23157d2fed8ee14aefddc64f52d0cd7c453ef1..fab8faef8e31a1dfe3e51e4aa19289999e851ae0 100644 (file)
@@ -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];
 }