isl_tab: invalidate undo stack if pushing record fails
[isl.git] / bset_to_bmap.c
blob874fe7107c4ee08ec56e79b6a97cf81bcd59c0c8
1 #include <isl/map_type.h>
3 /* Treat "bset" as a basic map.
4 * Internally, isl_basic_set is defined to isl_basic_map, so in practice,
5 * this function performs a redundant cast.
6 */
7 static __isl_give isl_basic_map *bset_to_bmap(__isl_take isl_basic_set *bset)
9 return (isl_basic_map *) bset;