aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2016-10-18 16:56:18 +0200
committerThomas White <taw@physics.org>2016-10-18 16:56:18 +0200
commitca9cd76c5eb380b947231456cf7bd5cd7139a7c1 (patch)
tree6e116c338d9e0c57c2564d06f10a0e7cc410a612
parentc6d507e2e4fd9732bbfeee3295187e95df100271 (diff)
ANGLE_TOLERANCE
-rw-r--r--libcrystfel/src/taketwo.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libcrystfel/src/taketwo.c b/libcrystfel/src/taketwo.c
index e1709b2b..9c4dd9e2 100644
--- a/libcrystfel/src/taketwo.c
+++ b/libcrystfel/src/taketwo.c
@@ -82,10 +82,8 @@ struct taketwo_private
/* Maximum dead ends for a single branch extension during indexing */
#define MAX_DEAD_ENDS 5
-/* FIXME: Tolerance for two angles to be considered the same - is there some
- * pre-existing degrees-to-radians in CrystFEL to use here or not?
- */
-#define ANGLE_TOLERANCE 1.0 * M_PI / 180
+/* Tolerance for two angles to be considered the same */
+#define ANGLE_TOLERANCE (deg2rad(1.0))
/** TODO:
*