From aa76c1fa8988f8363063f75ea4a9171cd6f0c061 Mon Sep 17 00:00:00 2001 From: David van der Spoel Date: Wed, 11 Jun 2014 22:36:58 +0200 Subject: [PATCH] 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 --- src/gromacs/commandline/pargs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.22.0