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_basic_map_compute_divs: recursively remove parameter equalities
[platform/upstream/isl.git]
/
isl_mat.c
diff --git
a/isl_mat.c
b/isl_mat.c
index
6cd90e0
..
cff8123
100644
(file)
--- a/
isl_mat.c
+++ b/
isl_mat.c
@@
-909,6
+909,9
@@
struct isl_mat *isl_mat_transpose(struct isl_mat *mat)
struct isl_mat *transpose = NULL;
int i, j;
+ if (!mat)
+ return NULL;
+
if (mat->n_col == mat->n_row) {
mat = isl_mat_cow(mat);
if (!mat)