diff options
author | Sven Verdoolaege <skimo@kotnet.org> | 2010-08-18 10:11:25 +0200 |
---|---|---|
committer | Sven Verdoolaege <skimo@kotnet.org> | 2010-08-18 14:50:57 +0200 |
commit | e9ac9c48ab2ca26e3b88ac30e8886db2336e4ac8 (patch) | |
tree | 5193af961496ddb3741b63bf08e07ea87985088b /isl_bernstein.c | |
parent | cf663ff9705b6043f40bdcd97fd3afa4249fd3e0 (diff) | |
download | isl-e9ac9c48ab2ca26e3b88ac30e8886db2336e4ac8.tar.gz isl-e9ac9c48ab2ca26e3b88ac30e8886db2336e4ac8.tar.bz2 isl-e9ac9c48ab2ca26e3b88ac30e8886db2336e4ac8.zip |
rename isl_pw_qpolynomial_fold_add to isl_pw_qpolynomial_fold_fold
The new name is more consistent with the naming of
isl_qpolynomial_fold_fold. Furthermore, it makes sense to perform
addition on isl_pw_qpolynomial_folds, so we prefer to use
the name isl_pw_qpolynomial_fold_add for such a function.
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
Diffstat (limited to 'isl_bernstein.c')
-rw-r--r-- | isl_bernstein.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/isl_bernstein.c b/isl_bernstein.c index 868bb3cf..12c1615e 100644 --- a/isl_bernstein.c +++ b/isl_bernstein.c @@ -298,9 +298,9 @@ static int bernstein_coefficients_cell(__isl_take isl_cell *cell, void *user) extract_coefficients(poly, dom, data); pwf = isl_pw_qpolynomial_fold_alloc(isl_set_copy(dom), data->fold); - data->pwf = isl_pw_qpolynomial_fold_add(data->pwf, pwf); + data->pwf = isl_pw_qpolynomial_fold_fold(data->pwf, pwf); pwf = isl_pw_qpolynomial_fold_alloc(dom, data->fold_tight); - data->pwf_tight = isl_pw_qpolynomial_fold_add(data->pwf_tight, pwf); + data->pwf_tight = isl_pw_qpolynomial_fold_fold(data->pwf_tight, pwf); isl_qpolynomial_free(poly); isl_cell_free(cell); @@ -378,7 +378,7 @@ static __isl_give isl_pw_qpolynomial_fold *bernstein_coefficients_base( return data->pwf_tight; } - data->pwf = isl_pw_qpolynomial_fold_add(data->pwf, data->pwf_tight); + data->pwf = isl_pw_qpolynomial_fold_fold(data->pwf, data->pwf_tight); return data->pwf; error: @@ -528,9 +528,9 @@ int isl_qpolynomial_bound_on_domain_bernstein(__isl_take isl_basic_set *bset, pwf = bernstein_coefficients_base(bset, poly, &data, tp); if (tight) - bound->pwf_tight = isl_pw_qpolynomial_fold_add(bound->pwf_tight, pwf); + bound->pwf_tight = isl_pw_qpolynomial_fold_fold(bound->pwf_tight, pwf); else - bound->pwf = isl_pw_qpolynomial_fold_add(bound->pwf, pwf); + bound->pwf = isl_pw_qpolynomial_fold_fold(bound->pwf, pwf); return 0; error: |