isl_val_is_rat: use isl_bool_ok
[isl.git] / set_to_map.c
blobdc67ed24babd5b4038780d7c16917a45949d4604
1 #include <isl/map_type.h>
3 /* Treat "set" as a map.
4 * Internally, isl_set is defined to isl_map, so in practice,
5 * this function performs a redundant cast.
6 */
7 static __isl_give isl_map *set_to_map(__isl_take isl_set *set)
9 return (isl_map *) set;