isl_basic_set_parameter_compression: use isl_vec_set
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 20 Mar 2012 15:38:39 +0000 (16:38 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Sun, 6 May 2012 12:33:04 +0000 (14:33 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_morph.c

index bd5733d..0aa0492 100644 (file)
@@ -520,7 +520,7 @@ __isl_give isl_morph *isl_basic_set_parameter_compression(
        H = isl_mat_right_inverse(H);
        if (!H || !d)
                goto error;
-       isl_seq_set(d->el, H->row[0][0], d->size);
+       d = isl_vec_set(d, H->row[0][0]);
        H = isl_mat_drop_rows(H, 0, 1);
        H = isl_mat_drop_cols(H, 0, 1);
        B = isl_mat_product(H, B);