isl_map_range: correctly handle maps with 0D domains
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 4 May 2011 13:03:27 +0000 (15:03 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Thu, 5 May 2011 10:18:10 +0000 (12:18 +0200)
commit422ab41e24c5ae2e32013b7c5643bae0f745b82f
tree2487514c419b31ad25b045ff7d9155697bbfbca1
parent02405a016770f772f20a0feabaa2dabd9b3e1254
isl_map_range: correctly handle maps with 0D domains

Internally, sets are represented as maps with unnamed, unstructured
0D domains.  isl_map_range takes advantage of this fact, but only
checked for 0D domains.  This was correct when isl_map_range was added,
but it should have been updated when named and structured spaces were
introduced.

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