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:
f0bd4e9
)
isl_qpolynomial_drop_dims: properly handle nested spaces
author
Sven Verdoolaege
<skimo@kotnet.org>
Tue, 28 Jun 2011 17:03:01 +0000
(19:03 +0200)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Wed, 29 Jun 2011 19:04:27 +0000
(21:04 +0200)
For consistency, we remove the 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
a2b9602
..
ec973cc
100644
(file)
--- a/
isl_polynomial.c
+++ b/
isl_polynomial.c
@@
-2312,7
+2312,7
@@
__isl_give isl_qpolynomial *isl_qpolynomial_drop_dims(
{
if (!qp)
return NULL;
- if (n == 0 && !isl_dim_
get_tuple_name
(qp->dim, type))
+ if (n == 0 && !isl_dim_
is_named_or_nested
(qp->dim, type))
return qp;
qp = isl_qpolynomial_cow(qp);