repo.or.cz
/
isl.git
/
commitdiff
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
raw
|
patch
|
inline
|
side by side
(parent:
6e0aeb2
)
isl_qpolynomial_morph_domain: use isl_qpolynomial_get_ctx
author
Sven Verdoolaege
<skimo@kotnet.org>
Tue, 19 Mar 2013 16:07:23 +0000
(19 17:07 +0100)
committer
Sven Verdoolaege
<sven.verdoolaege@gmail.com>
Wed, 30 Dec 2020 10:35:26 +0000
(30 11:35 +0100)
This reduces the dependence on the internal representation.
Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
isl_polynomial.c
patch
|
blob
|
blame
|
history
diff --git
a/isl_polynomial.c
b/isl_polynomial.c
index
5053000
..
5684874
100644
(file)
--- a/
isl_polynomial.c
+++ b/
isl_polynomial.c
@@
-4391,7
+4391,7
@@
__isl_give isl_qpolynomial *isl_qpolynomial_morph_domain(
if (!qp || !morph)
goto error;
- ctx =
qp->dim->ctx
;
+ ctx =
isl_qpolynomial_get_ctx(qp)
;
isl_assert(ctx, isl_space_is_equal(qp->dim, morph->dom->dim), goto error);
n_sub = morph->inv->n_row - 1;