diff options
author | Sven Verdoolaege <skimo@kotnet.org> | 2009-09-28 15:00:39 +0200 |
---|---|---|
committer | Sven Verdoolaege <skimo@kotnet.org> | 2009-10-07 22:03:07 +0200 |
commit | 119b88a5a541d00fed70c6727e7c664419a972a4 (patch) | |
tree | ddb27d71fe4b344fca601046a2d6e08734ecdd7c | |
parent | 964296fdb4cb4e3ecfae03c8187b7b348eedaaf0 (diff) | |
download | isl-119b88a5a541d00fed70c6727e7c664419a972a4.tar.gz isl-119b88a5a541d00fed70c6727e7c664419a972a4.tar.bz2 isl-119b88a5a541d00fed70c6727e7c664419a972a4.zip |
isl_tab_allocate_con: add extra assertion
-rw-r--r-- | isl_tab.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1098,6 +1098,7 @@ int isl_tab_allocate_con(struct isl_tab *tab) int r; isl_assert(tab->mat->ctx, tab->n_row < tab->mat->n_row, return -1); + isl_assert(tab->mat->ctx, tab->n_con < tab->max_con, return -1); r = tab->n_con; tab->con[r].index = tab->n_row; |