isl_basic_map_sort_constraints: change comparison routine
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 18 Feb 2011 12:09:02 +0000 (13:09 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Sun, 20 Feb 2011 09:03:57 +0000 (10:03 +0100)
In particular, before we would simply sort the constraints lexicographically.
Now, we first check for the last non-zero coefficients and only when those
positions are the same do we continue with the lexicographical order.
The new ordering is the same as that used to order divs in isl_polynomial.c

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>

No differences found