commit f3e335404127e340b76ff7d6d8e24c9ee5e77dd9
parent bfc8db3252d0f981fa86d53a923c95fd2c8a9df9
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Thu, 14 Jan 2021 18:17:04 +0100
Fix argument checking on atrstm creation
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/atrstm.c b/src/atrstm.c
@@ -82,7 +82,7 @@ atrstm_create
int nthreads_max;
res_T res = RES_OK;
- if(!out_atrstm || check_args(args)) {
+ if(!out_atrstm || !check_args(args)) {
res = RES_BAD_ARG;
goto error;
}