aboutsummaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-09-22 17:35:06 +0200
committerThomas White <taw@physics.org>2012-02-22 15:26:59 +0100
commitc68ee0a5c446023b7f550d723c8f3e8b109b9bc5 (patch)
tree49412bb958e032703f63e82ff54c8e66d321a191 /src/utils.h
parent0c5b842c2f991e57df4e8acc2438ffe7ee25e410 (diff)
compare_hkl: Reject reflections with low SNR
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h
index dfd1913f..a8461d6a 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -175,6 +175,11 @@ static inline double angle_between(double x1, double y1, double z1,
#define TYPE unsigned int
#include "list_tmp.h"
+/* As above, but for sigmas */
+#define LABEL(x) x##_sigma
+#define TYPE double
+#include "list_tmp.h"
+
/* ----------- Reflection lists indexed by sequence (not indices) ----------- */