aboutsummaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2019-02-03 15:39:45 -0500
committerPaul Duncan <pabs@pablotron.org>2019-02-03 15:39:45 -0500
commita30b8be1ede707f417df6afa5736f6fb75124588 (patch)
treed87ad4273ce9e68b1b7a22ef088ff2fdd569a133 /util.h
parentdf06fe6084b1c1673348050309a3a0cb99b6634f (diff)
downloadkmeans-a30b8be1ede707f417df6afa5736f6fb75124588.tar.bz2
kmeans-a30b8be1ede707f417df6afa5736f6fb75124588.zip
sort best, make png optional, clean up debug statements
Diffstat (limited to 'util.h')
-rw-r--r--util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/util.h b/util.h
index eeda5a7..cef238c 100644
--- a/util.h
+++ b/util.h
@@ -4,6 +4,7 @@
#include <stdio.h> // fprintf()
#include <stdlib.h> // exit()
+#define MIN(a, b) ((a) < (b) ? (a) : (b))
#define MAX(a, b) ((a) > (b) ? (a) : (b))
#define UNUSED(a) ((void) (a))