add isl_vec_sort
[isl.git] / polyhedron_detect_equalities.c
blob9acea325278549007b43f062a6fdb41b86ad3913
1 /*
2 * Copyright 2008-2009 Katholieke Universiteit Leuven
4 * Use of this software is governed by the GNU LGPLv2.1 license
6 * Written by Sven Verdoolaege, K.U.Leuven, Departement
7 * Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium
8 */
10 #include <isl/set.h>
12 int main(int argc, char **argv)
14 struct isl_ctx *ctx = isl_ctx_alloc();
15 struct isl_basic_set *bset;
17 bset = isl_basic_set_read_from_file(ctx, stdin, 0);
18 bset = isl_basic_set_detect_equalities(bset);
19 isl_basic_set_print(bset, stdout, 0, "", "", ISL_FORMAT_POLYLIB);
20 isl_basic_set_free(bset);
21 isl_ctx_free(ctx);
23 return 0;