From 289763d1d1294ee8a48a3f65e68c793f95522387 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Fri, 4 Feb 2022 16:13:40 -0500 Subject: [PATCH] Fix IS_ARR and IS_SLICE macro definitions --- src/h.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/h.h b/src/h.h index 78788b84..8ba03958 100644 --- a/src/h.h +++ b/src/h.h @@ -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,