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:
819adc9
)
isl_morph_basic_set: preserve rationality of input
author
Sven Verdoolaege
<skimo@kotnet.org>
Sun, 13 Feb 2011 09:15:25 +0000
(10:15 +0100)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Sun, 13 Feb 2011 09:15:25 +0000
(10:15 +0100)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_morph.c
patch
|
blob
|
history
diff --git
a/isl_morph.c
b/isl_morph.c
index
5232ae6
..
8a526e7
100644
(file)
--- a/
isl_morph.c
+++ b/
isl_morph.c
@@
-631,6
+631,9
@@
__isl_give isl_basic_set *isl_morph_basic_set(__isl_take isl_morph *morph,
res = add_strides(res, morph);
+ if (isl_basic_set_is_rational(bset))
+ res = isl_basic_set_set_rational(res);
+
res = isl_basic_set_simplify(res);
res = isl_basic_set_finalize(res);