From: David van der Spoel Date: Fri, 28 Nov 2014 06:40:42 +0000 (+0200) Subject: Fixes recently introduced bug in gmx analyze. X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=commitdiff_plain;h=dd8ee1fd2f3d35f33b82a3cceecf79b08aa37b99;p=alexxy%2Fgromacs.git 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 --- 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++) {