avoid increasing "extra" without also extending the div array
[platform/upstream/isl.git] / isl_piplib.c
index d389d73..7d625ef 100644 (file)
@@ -7,3 +7,11 @@ void isl_seq_cpy_to_pip(Entier *dst, isl_int *src, unsigned len)
        for (i = 0; i < len; ++i)
                entier_assign(dst[i], src[i]);
 }
+
+void isl_seq_cpy_from_pip(isl_int *dst, Entier *src, unsigned len)
+{
+       int i;
+
+       for (i = 0; i < len; ++i)
+               entier_assign(dst[i], src[i]);
+}