From: Sven Verdoolaege Date: Sun, 3 Feb 2013 15:18:55 +0000 (+0100) Subject: isl_union_map_alloc: project space argument onto its parameters X-Git-Tag: isl-0.12~212 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=02e0e8e1ccf2d74bc7518b8295479b7c38dfbe8c;p=platform%2Fupstream%2Fisl.git isl_union_map_alloc: project space argument onto its parameters We are only interested in the parameters anyway, so we might as well project out all the other dimensions. Signed-off-by: Sven Verdoolaege --- diff --git a/isl_union_map.c b/isl_union_map.c index 1528ebd..ed6639f 100644 --- a/isl_union_map.c +++ b/isl_union_map.c @@ -41,6 +41,7 @@ static __isl_give isl_union_map *isl_union_map_alloc(__isl_take isl_space *dim, { isl_union_map *umap; + dim = isl_space_params(dim); if (!dim) return NULL;