From: David van der Spoel Date: Wed, 11 Jun 2014 20:36:58 +0000 (+0200) Subject: Fixes bug where -e and -dt flags did not work anymore. X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=commitdiff_plain;h=aa76c1fa8988f8363063f75ea4a9171cd6f0c061;p=alexxy%2Fgromacs.git Fixes bug where -e and -dt flags did not work anymore. This was introduced recently during the overhaul of the option processing. Change-Id: Ife68ee4f53b54198333c1c135f7f5d9994081b1f --- diff --git a/src/gromacs/commandline/pargs.cpp b/src/gromacs/commandline/pargs.cpp index c5e2cd3664..fc9f88b537 100644 --- a/src/gromacs/commandline/pargs.cpp +++ b/src/gromacs/commandline/pargs.cpp @@ -648,11 +648,11 @@ gmx_bool parse_common_args(int *argc, char *argv[], unsigned long Flags, { setTimeValue(TBEGIN, tbegin); } - if (FF(PCA_CAN_END) && options.isSet("-e")) + if (FF(PCA_CAN_END) && options.isSet("e")) { setTimeValue(TEND, tend); } - if (FF(PCA_CAN_DT) && options.isSet("-dt")) + if (FF(PCA_CAN_DT) && options.isSet("dt")) { setTimeValue(TDELTA, tdelta); }