isl_tab_lexmin_add_eq: fix error handling
commitf85d4973037a11b903b4661d8b00914ad81b373b
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 6 May 2016 07:45:01 +0000 (6 09:45 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 6 May 2016 07:51:09 +0000 (6 09:51 +0200)
tree1ca5224030394d0059ab2b537d818f7cb311da66
parent89c652adaa7d0222d170998b065160cd732c237d
isl_tab_lexmin_add_eq: fix error handling

If add_lexmin_ineq fails for some reason, then the n_var field
of the tableau can no longer be accessed.  Save a copy of the field
before the call and use that instead.

Reported-by: Tobias Grosser <tobias@grosser.es>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_tab_pip.c