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:
6b91645
)
isl_qpolynomial_insert_dims: properly handle named or nested spaces
author
Sven Verdoolaege
<skimo@kotnet.org>
Tue, 28 Jun 2011 21:18:20 +0000
(23:18 +0200)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Wed, 29 Jun 2011 19:07:08 +0000
(21:07 +0200)
For consistency, we remove any naming or nesting even if n == 0.
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_polynomial.c
patch
|
blob
|
history
diff --git
a/isl_polynomial.c
b/isl_polynomial.c
index
ec973cc
..
0639789
100644
(file)
--- a/
isl_polynomial.c
+++ b/
isl_polynomial.c
@@
-2780,7
+2780,7
@@
__isl_give isl_qpolynomial *isl_qpolynomial_insert_dims(
unsigned g_pos;
int *exp;
- if (n == 0)
+ if (n == 0
&& !isl_dim_is_named_or_nested(qp->dim, type)
)
return qp;
qp = isl_qpolynomial_cow(qp);