From 372b7676b89fadba34a7da764015eb26bfb03ba8 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Sun, 26 Apr 2015 11:00:03 +0200 Subject: [PATCH] isl_map_subtract.c: map_subtract: avoid use of isl_map_empty_like This function will be removed in a subsequent commit. Signed-off-by: Sven Verdoolaege --- isl_map_subtract.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/isl_map_subtract.c b/isl_map_subtract.c index 043322f1..ec16beb1 100644 --- a/isl_map_subtract.c +++ b/isl_map_subtract.c @@ -546,7 +546,7 @@ static __isl_give isl_map *map_subtract( __isl_take isl_map *map1, map1 = isl_map_remove_empty_parts(map1); map2 = isl_map_remove_empty_parts(map2); - diff = isl_map_empty_like(map1); + diff = isl_map_empty(isl_map_get_space(map1)); for (i = 0; i < map1->n; ++i) { struct isl_map *d; d = basic_map_subtract(isl_basic_map_copy(map1->p[i]), -- 2.11.4.GIT