add isl_local_space_substitute_equalities
[platform/upstream/isl.git] / closure.c
index 8655695..43d69d4 100644 (file)
--- a/closure.c
+++ b/closure.c
@@ -1,12 +1,18 @@
-#include <isl_map.h>
+#include <assert.h>
+#include <isl/map.h>
 
 int main(int argc, char **argv)
 {
        struct isl_ctx *ctx;
        struct isl_map *map;
+       struct isl_options *options;
        int exact;
 
-       ctx = isl_ctx_alloc();
+       options = isl_options_new_with_defaults();
+       assert(options);
+       argc = isl_options_parse(options, argc, argv, ISL_ARG_ALL);
+
+       ctx = isl_ctx_alloc_with_options(isl_options_arg, options);
 
        map = isl_map_read_from_file(ctx, stdin, -1);
        map = isl_map_transitive_closure(map, &exact);