diff options
author | Sven Verdoolaege <skimo@kotnet.org> | 2009-09-26 17:54:58 +0200 |
---|---|---|
committer | Sven Verdoolaege <skimo@kotnet.org> | 2009-10-08 09:19:12 +0200 |
commit | 9bf701b1f6be6ce04a9e17a6db5cf03914f8da40 (patch) | |
tree | 1e5a5a398bf990389633b859edc84c3a8c55c5e8 /isl_sample.c | |
parent | b53ec8a74573e5c357ff76f348cadc541b0922cd (diff) | |
download | isl-9bf701b1f6be6ce04a9e17a6db5cf03914f8da40.tar.gz isl-9bf701b1f6be6ce04a9e17a6db5cf03914f8da40.tar.bz2 isl-9bf701b1f6be6ce04a9e17a6db5cf03914f8da40.zip |
isl_sample.c: basic_set_sample: remember boundedness of basic set
Diffstat (limited to 'isl_sample.c')
-rw-r--r-- | isl_sample.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/isl_sample.c b/isl_sample.c index cfd3c018..76d372d9 100644 --- a/isl_sample.c +++ b/isl_sample.c @@ -909,7 +909,8 @@ static struct isl_vec *basic_set_sample(struct isl_basic_set *bset, int bounded) bset->sample = NULL; if (bset->n_eq > 0) - return sample_eq(bset, isl_basic_set_sample_vec); + return sample_eq(bset, bounded ? isl_basic_set_sample_bounded + : isl_basic_set_sample_vec); if (dim == 0) return zero_sample(bset); if (dim == 1) |