stardis

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

commit 9a5052f9134043e62f9711c1172211150f2d029e
parent 6c69e8fa98488a0ec102ad3a20a99696359cd305
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Fri, 11 Jun 2021 10:59:28 +0200

Fix -P option parsing

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

diff --git a/src/stardis-parsing.c b/src/stardis-parsing.c @@ -791,7 +791,8 @@ parse_args * medium name (OK if NULL) */ GET_POS_AND_OPTIONAL_TIME_RANGE(line[0], args->pos_and_time, str_cget(&keep)); - args->medium_name = optarg + strlen(line[0]) + 1; + if(line[1]) + args->medium_name = optarg + strlen(line[0]) + 1; break;