isl_test.c: remove some code duplication
[isl.git] / uset_to_umap.c
blob68dcd01c9571e8c2b60a068699363e95b3067670
1 #include <isl/union_map_type.h>
3 /* Treat "uset" as a union map.
4 * Internally, isl_union_set is defined to isl_union_map, so in practice,
5 * this function performs a redundant cast.
6 */
7 static __isl_give isl_union_map *uset_to_umap(__isl_take isl_union_set *uset)
9 return (isl_union_map *) uset;