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:
024a979
)
isl_tab.c: cut_to_hyperplane: add extra sanity check
author
Sven Verdoolaege
<skimo@kotnet.org>
Tue, 30 Mar 2010 09:49:21 +0000
(11:49 +0200)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Tue, 30 Mar 2010 10:05:14 +0000
(12:05 +0200)
isl_tab.c
patch
|
blob
|
history
diff --git
a/isl_tab.c
b/isl_tab.c
index
749951c
..
daed8ec
100644
(file)
--- a/
isl_tab.c
+++ b/
isl_tab.c
@@
-2342,6
+2342,7
@@
static struct isl_tab *cut_to_hyperplane(struct isl_tab *tab,
if (var->is_zero)
return tab;
isl_assert(tab->mat->ctx, !var->is_redundant, goto error);
+ isl_assert(tab->mat->ctx, var->is_nonneg, goto error);
if (isl_tab_extend_cons(tab, 1) < 0)
goto error;