isl_test.c: properly create set space
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 26 Aug 2011 20:17:11 +0000 (22:17 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Sat, 3 Sep 2011 10:04:55 +0000 (12:04 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_test.c

index 77d5cb9..73de7ca 100644 (file)
@@ -1231,7 +1231,7 @@ void test_lex(struct isl_ctx *ctx)
        isl_space *dim;
        isl_map *map;
 
-       dim = isl_space_alloc(ctx, 0, 0, 0);
+       dim = isl_space_set_alloc(ctx, 0, 0);
        map = isl_map_lex_le(dim);
        assert(!isl_map_is_empty(map));
        isl_map_free(map);