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:
a5f8cb0
)
isl_tab_compute_reduced_basis: handle empty tables
author
Sven Verdoolaege
<skimo@kotnet.org>
Wed, 21 Oct 2009 19:04:26 +0000
(21:04 +0200)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Wed, 21 Oct 2009 20:59:56 +0000
(22:59 +0200)
basis_reduction_templ.c
patch
|
blob
|
history
diff --git
a/basis_reduction_templ.c
b/basis_reduction_templ.c
index
bd5f842
..
7481798
100644
(file)
--- a/
basis_reduction_templ.c
+++ b/
basis_reduction_templ.c
@@
-60,6
+60,9
@@
struct isl_tab *isl_tab_compute_reduced_basis(struct isl_tab *tab)
if (!tab)
return NULL;
+ if (tab->empty)
+ return tab;
+
ctx = tab->mat->ctx;
dim = tab->n_var;
B = tab->basis;