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:
0c84845
)
isl_basic_map_from_constraint_matrices: clear newly created divs
author
Sven Verdoolaege
<skimo@kotnet.org>
Sun, 16 Jan 2011 14:00:31 +0000
(15:00 +0100)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Sun, 16 Jan 2011 14:00:31 +0000
(15:00 +0100)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_map.c
patch
|
blob
|
history
diff --git
a/isl_map.c
b/isl_map.c
index
89be7b2
..
8812277
100644
(file)
--- a/
isl_map.c
+++ b/
isl_map.c
@@
-7982,9
+7982,12
@@
__isl_give isl_basic_map *isl_basic_map_from_constraint_matrices(
eq->n_row, ineq->n_row);
if (!bmap)
goto error;
- for (i = 0; i < extra; ++i)
- if (isl_basic_map_alloc_div(bmap) < 0)
+ for (i = 0; i < extra; ++i) {
+ k = isl_basic_map_alloc_div(bmap);
+ if (k < 0)
goto error;
+ isl_int_set_si(bmap->div[k][0], 0);
+ }
for (i = 0; i < eq->n_row; ++i) {
l = isl_basic_map_alloc_equality(bmap);
if (l < 0)