aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-01-13 17:27:24 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:43 +0100
commitdb285f5ff2a6d37f4ff73ecf72ae3a4fe1cdcf3f (patch)
treefb5302d5522c4a6ac3ba924a28b7614ec9c0f02d /data
parent6c5f4260e351d618dd3a6fa655c80b9798e68beb (diff)
Fix missing IDIM in diffraction.cl
Diffstat (limited to 'data')
-rw-r--r--data/diffraction.cl1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/diffraction.cl b/data/diffraction.cl
index c86d54d4..3442e63a 100644
--- a/data/diffraction.cl
+++ b/data/diffraction.cl
@@ -14,6 +14,7 @@
* WARNING: Altering this value constitutes an ABI change, and means you must
* update src/pattern_sim.h then recompile and reinstall everything. */
#define INDMAX 200
+#define IDIM (INDMAX*2 +1)
#ifndef M_PI
#define M_PI ((float)(3.14159265))