isl_constraint_add_div: correctly set line to first and only constraint
commit7c44f81ec955f061671b7f18480d627ac71f52bc
authorSven Verdoolaege <skimo@kotnet.org>
Sun, 27 Jun 2010 16:43:55 +0000 (27 18:43 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Sun, 27 Jun 2010 18:36:52 +0000 (27 20:36 +0200)
treef31520c092e65e5cd1700866cd52b8abbf4a2287
parentcc332fd3f76e3f0234152a4ed7c83082b53148c1
isl_constraint_add_div: correctly set line to first and only constraint

When isl_constraint_add_div was introduced in 3fcebd4 (isl_constraint:
add limited support for adding divs), the equalities were still placed
before the inequalities in the constraint matrix.
This changed in 9eb1488 (isl_basic_map: put inequalities before equalities),
but the implementation of isl_constraint_add_div was not adapted accordingly.
This has probably gone unnoticed because isl_constraint_add_div has only
been used on equality constraints.
isl_constraint.c