summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Verdoolaege <skimo@kotnet.org>2011-03-09 21:04:56 +0100
committerSven Verdoolaege <skimo@kotnet.org>2011-03-10 19:13:00 +0100
commit56a27cbce4e45fd2434e8be01e6b04d6bdf98876 (patch)
tree3ebf1e00b8efd689c6a13e03332ca40186c2cbcb
parentb9791ad473737122c50378d6d0eaff7f5e414234 (diff)
downloadisl-56a27cbce4e45fd2434e8be01e6b04d6bdf98876.tar.gz
isl-56a27cbce4e45fd2434e8be01e6b04d6bdf98876.tar.bz2
isl-56a27cbce4e45fd2434e8be01e6b04d6bdf98876.zip
isl_map_deltas: don't copy flags from input
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>
-rw-r--r--isl_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isl_map.c b/isl_map.c
index 6e71e0a4..c3b521f2 100644
--- 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)