isl_input.c: obj_read: start off from parameter space
authorSven Verdoolaege <skimo@kotnet.org>
Sun, 28 Aug 2011 07:53:27 +0000 (09:53 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Sat, 3 Sep 2011 19:43:07 +0000 (21:43 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_input.c

index 90c376f..c36dfef 100644 (file)
@@ -1888,7 +1888,7 @@ static struct isl_obj obj_read(struct isl_stream *s, int nparam)
                isl_stream_push_token(s, tok);
                goto error;
        }
-       map = isl_map_universe(isl_space_alloc(s->ctx, 0, 0, 0));
+       map = isl_map_universe(isl_space_params_alloc(s->ctx, 0));
        if (tok->type == '[') {
                isl_stream_push_token(s, tok);
                map = read_tuple(s, map, isl_dim_param, v);