isl_printer_print_pw_aff: simplify domain expression in C format
[isl.git] / polyhedron_detect_equalities.c
blobf66d08f82a756aff56df0586f72b7a5f2328fc37
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);
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;