projects
/
platform
/
upstream
/
isl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1c4326
)
isl_set_project_out: always update dimension, even for empty sets
author
Sven Verdoolaege
<skimo@kotnet.org>
Tue, 2 Feb 2010 13:23:02 +0000
(14:23 +0100)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Wed, 3 Feb 2010 17:29:52 +0000
(18:29 +0100)
isl_map.c
patch
|
blob
|
history
diff --git
a/isl_map.c
b/isl_map.c
index
7746979
..
3cc76a4
100644
(file)
--- a/
isl_map.c
+++ b/
isl_map.c
@@
-2024,9
+2024,6
@@
__isl_give isl_set *isl_set_project_out(__isl_take isl_set *set,
isl_assert(set->ctx, type == isl_dim_set, goto error);
isl_assert(set->ctx, first + n == isl_set_n_dim(set), goto error);
- if (n == 0)
- return set;
-
set = isl_set_cow(set);
if (!set)
goto error;