aboutsummaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-02-19 22:43:11 +0100
committerThomas White <taw@bitwiz.org.uk>2010-02-19 22:43:38 +0100
commitdca8cc2962e2768a7cb69b5d9717b6e5c78be288 (patch)
treed89d9bf32b37a3d9c781321bcc4f523f7586b48c /src/utils.h
parentc7e0450702ab668cdcda34541e6bf815d50be8a8 (diff)
Move critical array size definitions to share between CPU and GPU versions
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/utils.h b/src/utils.h
index d9d0a0af..d9025fa0 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -137,11 +137,7 @@ static inline double angle_between(double x1, double y1, double z1,
/* -------------------- Indexed lists for specified types ------------------- */
-/* Maxmimum index to hold values up to (can be increased if necessary) */
-#define INDMAX 70
-
-/* Array size */
-#define IDIM (INDMAX*2 +1)
+#include "defs.h"
#define LIST_SIZE (IDIM*IDIM*IDIM)