projects
/
platform
/
upstream
/
isl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29377b1
)
isl_space_wrap: properly create set space
author
Sven Verdoolaege
<skimo@kotnet.org>
Sat, 27 Aug 2011 12:24:07 +0000
(14:24 +0200)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Sat, 3 Sep 2011 10:04:54 +0000
(12:04 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_space.c
patch
|
blob
|
history
diff --git
a/isl_space.c
b/isl_space.c
index
853d551
..
46262ff
100644
(file)
--- a/
isl_space.c
+++ b/
isl_space.c
@@
-1264,7
+1264,8
@@
__isl_give isl_space *isl_space_wrap(__isl_take isl_space *dim)
if (!dim)
return NULL;
- wrap = isl_space_alloc(dim->ctx, dim->nparam, 0, dim->n_in + dim->n_out);
+ wrap = isl_space_set_alloc(dim->ctx,
+ dim->nparam, dim->n_in + dim->n_out);
wrap = copy_ids(wrap, isl_dim_param, 0, dim, isl_dim_param);
wrap = copy_ids(wrap, isl_dim_set, 0, dim, isl_dim_in);