summaryrefslogtreecommitdiff
path: root/isl_aff.c
diff options
context:
space:
mode:
Diffstat (limited to 'isl_aff.c')
-rw-r--r--isl_aff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isl_aff.c b/isl_aff.c
index fb57f24b..d8b89ce6 100644
--- a/isl_aff.c
+++ b/isl_aff.c
@@ -1372,7 +1372,7 @@ static __isl_give isl_aff *isl_aff_substitute_equalities(
goto error;
n_div = isl_local_space_dim(aff->ls, isl_dim_div);
if (n_div > 0)
- eq = isl_basic_set_add(eq, isl_dim_set, n_div);
+ eq = isl_basic_set_add_dims(eq, isl_dim_set, n_div);
return isl_aff_substitute_equalities_lifted(aff, eq);
error:
isl_basic_set_free(eq);