From dd8ee1fd2f3d35f33b82a3cceecf79b08aa37b99 Mon Sep 17 00:00:00 2001 From: David van der Spoel Date: Fri, 28 Nov 2014 08:40:42 +0200 Subject: [PATCH] Fixes recently introduced bug in gmx analyze. Since the introduction of a separate module for autocorrelation and related algorithms the program gmx analyze did not work anymore due to a typo introduced, such that the acf related command line arguments were not properly added to the others. Change-Id: If79adc761de397e42c387d1aa6bd53d565b02820 --- src/gromacs/correlationfunctions/autocorr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gromacs/correlationfunctions/autocorr.c b/src/gromacs/correlationfunctions/autocorr.c index 159790811f..d2df85a391 100644 --- a/src/gromacs/correlationfunctions/autocorr.c +++ b/src/gromacs/correlationfunctions/autocorr.c @@ -748,7 +748,7 @@ t_pargs *add_acf_pargs(int *npargs, t_pargs *pa) t_pargs *ppa; int i, npa; - npa = asize(pa); + npa = asize(acfpa); snew(ppa, *npargs+npa); for (i = 0; (i < *npargs); i++) { -- 2.11.4.GIT