isl_map_deltas: don't copy flags from input
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 9 Mar 2011 20:04:56 +0000 (21:04 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Thu, 10 Mar 2011 18:13:00 +0000 (19:13 +0100)
The deltas sets of disjoint relations may not be disjoint
and the entire result will not be normalized.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_map.c

index 6e71e0a..c3b521f 100644 (file)
--- a/isl_map.c
+++ b/isl_map.c
@@ -5444,7 +5444,7 @@ struct isl_set *isl_map_deltas(struct isl_map *map)
                   goto error);
        dim = isl_map_get_dim(map);
        dim = isl_dim_domain(dim);
-       result = isl_set_alloc_dim(dim, map->n, map->flags);
+       result = isl_set_alloc_dim(dim, map->n, 0);
        if (!result)
                goto error;
        for (i = 0; i < map->n; ++i)