From b2fe5e6373591626d000b546ef4c3f83ab961d84 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Fri, 26 Aug 2011 22:07:56 +0200 Subject: [PATCH] test_bound.c: avoid use of undocumented isl_set_remove_dims Signed-off-by: Sven Verdoolaege --- test_bound.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test_bound.c b/test_bound.c index 11d02ac..66d94d9 100644 --- a/test_bound.c +++ b/test_bound.c @@ -218,13 +218,11 @@ static void test(__isl_keep isl_pw_qpolynomial *pwqp, struct verify_point_bound vpb = { { options }, result }; isl_set *context; int r; - unsigned nvar; vpb.pwf = pwf; vpb.pwqp = pwqp; context = isl_pw_qpolynomial_domain(isl_pw_qpolynomial_copy(vpb.pwqp)); - nvar = isl_set_dim(context, isl_dim_set); - context = isl_set_remove_dims(context, isl_dim_set, 0, nvar); + context = isl_set_params(context); context = verify_context_set_bounds(context, options); r = verify_point_data_init(&vpb.vpd, context); -- 2.11.4.GIT