stardis

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

commit 3c5227fc91a28504bc507e841ef4a534fa36e125
parent fdccf5213deb7e1b161b530d03270dbcdbf7a610
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Mon,  7 Feb 2022 17:46:47 +0100

Fix -p option parsing

Diffstat:
Msrc/stardis-args.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/stardis-args.c b/src/stardis-args.c @@ -648,7 +648,7 @@ parse_args int nt; res = cstr_to_int(optarg, &nt); if(res != RES_OK - || args->nthreads <= 0) + || nt <= 0) { if(res == RES_OK) res = RES_BAD_ARG; logger_print(args->logger, LOG_ERROR,