summaryrefslogtreecommitdiff
path: root/isl_pw_templ.c
diff options
context:
space:
mode:
Diffstat (limited to 'isl_pw_templ.c')
-rw-r--r--isl_pw_templ.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isl_pw_templ.c b/isl_pw_templ.c
index 9b0d3c77..4ebebcc3 100644
--- a/isl_pw_templ.c
+++ b/isl_pw_templ.c
@@ -969,7 +969,7 @@ __isl_give PW *FN(PW,mul_isl_int)(__isl_take PW *pw, isl_int v)
pw->type = isl_fold_type_negate(pw->type);
#endif
for (i = 0; i < pw->n; ++i) {
- pw->p[i].FIELD = FN(EL,mul_isl_int)(pw->p[i].FIELD, v);
+ pw->p[i].FIELD = FN(EL,scale)(pw->p[i].FIELD, v);
if (!pw->p[i].FIELD)
goto error;
}