diff options
author | Sven Verdoolaege <skimo@purples.(none)> | 2009-09-06 13:23:29 +0200 |
---|---|---|
committer | Sven Verdoolaege <skimo@purples.(none)> | 2009-09-06 17:57:15 +0200 |
commit | 42dcb9a71e7658366241492ecd34a56543a789ec (patch) | |
tree | b13f81ded115a7003e56e5518d0fd9537b8d6e02 /isl_tab.c | |
parent | 212fc08ea866be410048c4e7615b5a92da925eab (diff) | |
download | isl-42dcb9a71e7658366241492ecd34a56543a789ec.tar.gz isl-42dcb9a71e7658366241492ecd34a56543a789ec.tar.bz2 isl-42dcb9a71e7658366241492ecd34a56543a789ec.zip |
isl_tab.c: isl_tab_mark_redundant: fix up error return
Diffstat (limited to 'isl_tab.c')
-rw-r--r-- | isl_tab.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -543,7 +543,7 @@ int isl_tab_mark_redundant(struct isl_tab *tab, int row) { struct isl_tab_var *var = isl_tab_var_from_row(tab, row); var->is_redundant = 1; - isl_assert(tab->mat->ctx, row >= tab->n_redundant, return); + isl_assert(tab->mat->ctx, row >= tab->n_redundant, return -1); if (tab->need_undo || tab->row_var[row] >= 0) { if (tab->row_var[row] >= 0 && !var->is_nonneg) { var->is_nonneg = 1; |