From eb3c5524dc11925d3940f9341ca8203e76d47682 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Fri, 7 Feb 2014 10:33:09 +0100 Subject: [PATCH] isl_union_*_add_*: align parameters Signed-off-by: Sven Verdoolaege --- isl_union_templ.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/isl_union_templ.c b/isl_union_templ.c index e6a3833d..94add2f2 100644 --- a/isl_union_templ.c +++ b/isl_union_templ.c @@ -163,14 +163,14 @@ __isl_give UNION *FN(FN(UNION,add),PARTS)(__isl_take UNION *u, return u; } + u = FN(UNION,align_params)(u, FN(PART,get_space)(part)); + part = FN(PART,align_params)(part, FN(UNION,get_space)(u)); + u = FN(UNION,cow)(u); if (!u) goto error; - isl_assert(u->dim->ctx, isl_space_match(part->dim, isl_dim_param, u->dim, - isl_dim_param), goto error); - hash = isl_space_get_hash(part->dim); entry = isl_hash_table_find(u->dim->ctx, &u->table, hash, &has_dim, part->dim, 1); -- 2.11.4.GIT