isl_qpolynomial_involves_dims: fix typo
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 18 May 2011 12:46:16 +0000 (14:46 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 18 May 2011 12:58:10 +0000 (14:58 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_polynomial.c

index 889ca58..8a519d6 100644 (file)
@@ -2158,7 +2158,7 @@ int isl_qpolynomial_involves_dims(__isl_keep isl_qpolynomial *qp,
        isl_assert(qp->dim->ctx, type == isl_dim_param ||
                                 type == isl_dim_set, return -1);
 
-       active = isl_calloc_array(set->ctx, int, isl_dim_total(qp->dim));
+       active = isl_calloc_array(qp->dim->ctx, int, isl_dim_total(qp->dim));
        if (set_active(qp, active) < 0)
                goto error;