isl_map_affine_hull: handle non-obviously empty input
authorSven Verdoolaege <skimo@kotnet.org>
Sat, 10 Apr 2010 14:19:23 +0000 (16:19 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Sat, 10 Apr 2010 14:20:51 +0000 (16:20 +0200)
commita4ce2a98ca7c4f5fb709cddad240d5c32795a572
tree05b0c6f7ea85c4d730d3db2a348e5194f1f96e4b
parent9a82b3d54c7682f4adda78d72a941e7dc294fe1d
isl_map_affine_hull: handle non-obviously empty input

In particular, detect equalities before checking whether the input is empty.
Otherwise, we could be accessing the first element of an empty list.
isl_affine_hull.c