From a73afcb5a28873f2818734cb178f396f77ed1c61 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Sat, 8 Nov 2008 12:11:14 +0100 Subject: [PATCH] isl_basic_map_alloc_div: clear unused extra coefficients --- isl_map.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/isl_map.c b/isl_map.c index d573eb5..a40d0c5 100644 --- a/isl_map.c +++ b/isl_map.c @@ -353,6 +353,9 @@ int isl_basic_map_alloc_div(struct isl_basic_map *bmap) if (!bmap) return -1; isl_assert(bmap->ctx, bmap->n_div < bmap->extra, return -1); + isl_seq_clr(bmap->div[bmap->n_div] + + 1 + 1 + bmap->nparam + bmap->n_in + bmap->n_out + bmap->n_div, + bmap->extra - bmap->n_div); return bmap->n_div++; } -- 2.7.4