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:
16a1a62
)
isl_basic_set_scan: make sure sufficient rows are allocated in tableau
author
Sven Verdoolaege
<skimo@kotnet.org>
Mon, 1 Mar 2010 13:24:52 +0000
(14:24 +0100)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Thu, 4 Mar 2010 14:35:45 +0000
(15:35 +0100)
isl_scan.c
patch
|
blob
|
history
diff --git
a/isl_scan.c
b/isl_scan.c
index
b0aba40
..
d893645
100644
(file)
--- a/
isl_scan.c
+++ b/
isl_scan.c
@@
-91,6
+91,8
@@
int isl_basic_set_scan(struct isl_basic_set *bset,
tab = isl_tab_from_basic_set(bset);
if (!tab)
goto error;
+ if (isl_tab_extend_cons(tab, dim + 1) < 0)
+ goto error;
tab->basis = isl_mat_identity(bset->ctx, 1 + dim);
if (1)