From 9300e7846d215a5dbda90622929e6967e6286e43 Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Tue, 4 Sep 2018 09:00:32 +0200 Subject: [PATCH] isl_val_is_divisible_by: 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 352ec8c8..39f8bd4b 100644 --- a/isl_val.c +++ b/isl_val.c @@ -969,7 +969,7 @@ isl_bool isl_val_is_divisible_by(__isl_keep isl_val *v1, __isl_keep isl_val *v2) isl_die(isl_val_get_ctx(v1), isl_error_invalid, "expecting two integers", return isl_bool_error); - return isl_int_is_divisible_by(v1->n, v2->n); + return isl_bool_ok(isl_int_is_divisible_by(v1->n, v2->n)); } /* Given two integer values "v1" and "v2", return the residue of "v1" -- 2.11.4.GIT