isl_fold.c: fix typo
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 20 May 2011 20:59:58 +0000 (22:59 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 25 May 2011 12:09:00 +0000 (14:09 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_fold.c

index 1b5a1bb..308f1b3 100644 (file)
@@ -773,8 +773,8 @@ __isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_fold(
        }
 
        if (pw1->type != pw2->type)
-               isl_die(set->ctx, isl_error_invalid, "fold types don't match",
-                       goto error);
+               isl_die(pw1->dim->ctx, isl_error_invalid,
+                       "fold types don't match", goto error);
 
        n = (pw1->n + 1) * (pw2->n + 1);
        res = isl_pw_qpolynomial_fold_alloc_(isl_dim_copy(pw1->dim),