projects
/
platform
/
upstream
/
isl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
isl_printer_print_pw_qpolynomial_fold: print dim as set instead of map
[platform/upstream/isl.git]
/
isl_seq.c
diff --git
a/isl_seq.c
b/isl_seq.c
index
474f9be
..
5747b39
100644
(file)
--- a/
isl_seq.c
+++ b/
isl_seq.c
@@
-16,6
+16,13
@@
void isl_seq_clr(isl_int *p, unsigned len)
isl_int_set_si(p[i], 0);
}
+void isl_seq_set(isl_int *p, isl_int v, unsigned len)
+{
+ int i;
+ for (i = 0; i < len; ++i)
+ isl_int_set(p[i], v);
+}
+
void isl_seq_neg(isl_int *dst, isl_int *src, unsigned len)
{
int i;