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:
efa944a
)
isl_convex_hull.c: add_bounds: propagate errors from add_bound
author
Sven Verdoolaege
<skimo@kotnet.org>
Wed, 28 Apr 2010 09:55:44 +0000
(11:55 +0200)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Wed, 28 Apr 2010 09:58:16 +0000
(11:58 +0200)
isl_convex_hull.c
patch
|
blob
|
history
diff --git
a/isl_convex_hull.c
b/isl_convex_hull.c
index
23a7981
..
df7a686
100644
(file)
--- a/
isl_convex_hull.c
+++ b/
isl_convex_hull.c
@@
-2171,11
+2171,11
@@
static struct isl_basic_set *add_bounds(struct isl_basic_set *bset,
for (j = 0; j < set->p[i]->n_eq; ++j) {
for (k = 0; k < 2; ++k) {
isl_seq_neg(set->p[i]->eq[j], set->p[i]->eq[j], 1+dim);
- add_bound(bset, data, set, i, set->p[i]->eq[j]);
+
bset =
add_bound(bset, data, set, i, set->p[i]->eq[j]);
}
}
for (j = 0; j < set->p[i]->n_ineq; ++j)
- add_bound(bset, data, set, i, set->p[i]->ineq[j]);
+
bset =
add_bound(bset, data, set, i, set->p[i]->ineq[j]);
return bset;
}