isl_map_simplify.c: fix typo
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 25 Jun 2010 14:30:09 +0000 (16:30 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 25 Jun 2010 14:30:09 +0000 (16:30 +0200)
isl_map_simplify.c

index 9d9e5c2..8c2dde0 100644 (file)
@@ -1405,7 +1405,7 @@ static struct isl_basic_set *isl_basic_set_reduce_using_equalities(
        if (!bset)
                goto error;
 
-       elim = isl_alloc_array(ctx, int, isl_basic_set_n_dim(bset));
+       elim = isl_alloc_array(bset->ctx, int, isl_basic_set_n_dim(bset));
        if (!elim)
                goto error;
        set_compute_elimination_index(context, elim);