From 0a5ddc3dd612851bd57e16d67f3bf36e315f07cf Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Mon, 2 Aug 2010 16:14:29 +0200 Subject: [PATCH] avoid use of isl_dim internals --- evalue_isl.c | 4 +++- isl | 2 +- isl-polylib | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/evalue_isl.c b/evalue_isl.c index d6df6ec..85f3b7d 100644 --- a/evalue_isl.c +++ b/evalue_isl.c @@ -6,6 +6,7 @@ static __isl_give isl_qpolynomial *extract_base(__isl_take isl_dim *dim, const evalue *e) { int i; + isl_ctx *ctx; isl_vec *v; isl_div *div; isl_qpolynomial *base, *c; @@ -17,8 +18,9 @@ static __isl_give isl_qpolynomial *extract_base(__isl_take isl_dim *dim, if (e->x.p->type == polynomial) return isl_qpolynomial_var(dim, isl_dim_param, e->x.p->pos - 1); + ctx = isl_dim_get_ctx(dim); nparam = isl_dim_size(dim, isl_dim_param); - v = isl_vec_alloc(dim->ctx, 2 + nparam); + v = isl_vec_alloc(ctx, 2 + nparam); if (!v) goto error; diff --git a/isl b/isl index 892fb27..ef20c94 160000 --- a/isl +++ b/isl @@ -1 +1 @@ -Subproject commit 892fb27ee14523cdd277639f82a7842e993b486d +Subproject commit ef20c9488b14fb24528a0b09a17d8933b5765afe diff --git a/isl-polylib b/isl-polylib index 531cb00..28019b3 160000 --- a/isl-polylib +++ b/isl-polylib @@ -1 +1 @@ -Subproject commit 531cb004f543da76f53afe0e10547a6a3767da50 +Subproject commit 28019b3d3375c3b778061c7207dbf57a696b1d17 -- 2.11.4.GIT