Fix IS_ARR and IS_SLICE macro definitions

This commit is contained in:
Marshall Lochbaum 2022-02-04 16:13:40 -05:00
parent fcc12ad8ee
commit 289763d1d1

View File

@ -224,8 +224,8 @@ enum Type {
#undef F
t_COUNT
};
#define IS_SLICE(T) ((t)>=t_hslice & (t)<=t_f64slice)
#define IS_ARR(T) ((t)>=t_harr & (t)<=t_bitarr)
#define IS_SLICE(T) ((T)>=t_hslice & (T)<=t_f64slice)
#define IS_ARR(T) ((T)>=t_harr & (T)<=t_bitarr)
enum ElType { // a⌈b shall return the type that can store both, if possible
el_bit=0,