From 704f6537ba6a72ccce84c30e13deda3aa5ba417a Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Tue, 4 Sep 2018 09:00:35 +0200 Subject: [PATCH] isl_val_is_nan: use isl_bool_ok Signed-off-by: Tobias Grosser Signed-off-by: Sven Verdoolaege --- isl_val.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/isl_val.c b/isl_val.c index 135197f8..74ae83fe 100644 --- a/isl_val.c +++ b/isl_val.c @@ -1162,7 +1162,7 @@ isl_bool isl_val_is_nan(__isl_keep isl_val *v) if (!v) return isl_bool_error; - return isl_int_is_zero(v->n) && isl_int_is_zero(v->d); + return isl_bool_ok(isl_int_is_zero(v->n) && isl_int_is_zero(v->d)); } /* Does "v" represent +infinity? -- 2.11.4.GIT