stardis

Perform coupled heat transfer calculations
git clone git://git.meso-star.fr/stardis.git
Log | Files | Refs | README | LICENSE

commit 89a53b0130ea7bcdaf0925c9f8cdf7e1e4fedcc5
parent 335795f1211192c80857c670d6d074c4cdcf6843
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Thu,  9 Apr 2020 15:46:39 +0200

Fix -D option checks

Diffstat:
Msrc/stardis-parsing.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/stardis-parsing.c b/src/stardis-parsing.c @@ -816,13 +816,13 @@ re_switch: goto error; } - if(args->mode |= DUMP_PATHS) { + if(args->mode & DUMP_PATHS) { if(args->mode & USE_STDOUT_MODES) { res = RES_BAD_ARG; print_multiple_modes(buf, sizeof(buf), USE_STDOUT_MODES, DUMP_PATHS); logger_print(args->logger, LOG_ERROR, "Option -%c cannot be used in conjunction with other dump options (%s).\n", - (char)opt, buf); + mode_option(DUMP_PATHS), buf); goto error; } if(!(args->mode & SINGLE_RESULT_MODES)) {