From 67f56ce2064f54a65d302a8027016f4d21d7a3f6 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Sat, 27 Aug 2011 14:50:44 +0200 Subject: [PATCH] isl_polynomial.c: constant_on_domain: explicitly project on parameter space Signed-off-by: Sven Verdoolaege --- isl_polynomial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/isl_polynomial.c b/isl_polynomial.c index 2ed05a0..c865789 100644 --- a/isl_polynomial.c +++ b/isl_polynomial.c @@ -4284,7 +4284,7 @@ static __isl_give isl_pw_qpolynomial *constant_on_domain( if (!bset) return NULL; - bset = isl_basic_map_domain(isl_basic_map_from_range(bset)); + bset = isl_basic_set_params(bset); dim = isl_basic_set_get_space(bset); if (cst < 0) qp = isl_qpolynomial_infty(dim); -- 2.7.4