add isl_pw_aff_scale
[platform/upstream/isl.git] / isl_pw_templ.c
index 1b0296f..a446c43 100644 (file)
@@ -1067,3 +1067,8 @@ error:
        FN(PW,free)(pw);
        return NULL;
 }
+
+__isl_give PW *FN(PW,scale)(__isl_take PW *pw, isl_int v)
+{
+       return FN(PW,mul_isl_int)(pw, v);
+}