aboutsummaryrefslogtreecommitdiff
path: root/include/u.h
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2020-05-29 14:41:05 -0700
committerNicholas Noll <nbnoll@eml.cc>2020-05-29 14:41:05 -0700
commit43ecfce7d20360a5fdc53e5ced266eccc8723242 (patch)
treec380ce6c3b2e9221a9510e9e829a4d772041ea78 /include/u.h
parent680d60678b273f1ff20b013b24954773f76b4e1d (diff)
blas code update
Diffstat (limited to 'include/u.h')
-rw-r--r--include/u.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/u.h b/include/u.h
index 3fafcda..8044fe0 100644
--- a/include/u.h
+++ b/include/u.h
@@ -51,6 +51,7 @@ typedef int error;
#endif
#define arrlen(Array) (sizeof(Array) / sizeof((Array)[0]))
+#define arrend(Array) ((Array) + arrlen(Array))
#define MAX(x, y) ((x) >= (y) ? (x) : (y))
#define MIN(x, y) ((x) < (y) ? (x) : (y))