isl_basic_map_preimage_multi_aff: micro-refactoring
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 16 Apr 2013 12:15:41 +0000 (14:15 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 22 Apr 2013 07:38:19 +0000 (09:38 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_map.c

index 9848bd2..e5ab547 100644 (file)
--- a/isl_map.c
+++ b/isl_map.c
@@ -11521,7 +11521,7 @@ __isl_give isl_basic_map *isl_basic_map_preimage_multi_aff(
        n_div_bmap = isl_basic_map_dim(bmap, isl_dim_div);
        n_div_ma = ma->n ? isl_aff_dim(ma->p[0], isl_dim_div) : 0;
 
-       space = isl_space_domain(isl_multi_aff_get_space(ma));
+       space = isl_multi_aff_get_domain_space(ma);
        space = isl_space_set(isl_basic_map_get_space(bmap), type, space);
        rational = isl_basic_map_is_rational(bmap);
        strides = rational ? 0 : multi_aff_strides(ma);