summaryrefslogtreecommitdiff
path: root/isl_mat.c
diff options
context:
space:
mode:
authorSven Verdoolaege <skimo@kotnet.org>2010-08-03 11:47:16 +0200
committerSven Verdoolaege <skimo@kotnet.org>2010-08-04 22:45:02 +0200
commit4fd67a999a859ccecd0b1b048eeb9bd1dd761a53 (patch)
treef2c20bc50601c7242e062b324c68adb1fa25c103 /isl_mat.c
parenta26da543f020a0a4f98636a3628ea8610b76f52f (diff)
downloadisl-4fd67a999a859ccecd0b1b048eeb9bd1dd761a53.tar.gz
isl-4fd67a999a859ccecd0b1b048eeb9bd1dd761a53.tar.bz2
isl-4fd67a999a859ccecd0b1b048eeb9bd1dd761a53.zip
add isl_mat_add_rows
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
Diffstat (limited to 'isl_mat.c')
-rw-r--r--isl_mat.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/isl_mat.c b/isl_mat.c
index 31bc8096..51c2ab8e 100644
--- a/isl_mat.c
+++ b/isl_mat.c
@@ -1176,6 +1176,14 @@ error:
return NULL;
}
+__isl_give isl_mat *isl_mat_add_rows(__isl_take isl_mat *mat, unsigned n)
+{
+ if (!mat)
+ return NULL;
+
+ return isl_mat_insert_rows(mat, mat->n_row, n);
+}
+
void isl_mat_col_submul(struct isl_mat *mat,
int dst_col, isl_int f, int src_col)
{